I hereby claim:
- I am dowens on github.
- I am dowens (https://keybase.io/dowens) on keybase.
- I have a public key whose fingerprint is 964F 93AC 2C13 3BC6 B220 145F 7EC1 0285 17D8 592C
To claim this, I am signing this object:
| ########## | |
| # Tweaked Win10 Initial Setup Script | |
| # Primary Author: Disassembler <disassembler@dasm.cz> | |
| # Original Version: 1.4, 2016-01-16 | |
| # Tweaked based on personal preferences for @alirobe 2016-03-23 - v1.4.1 | |
| # NOTE: MAKE SURE YOU READ THIS SCRIPT CAREFULLY BEFORE RUNNING IT + ADJUST COMMENTING AS APPROPRIATE | |
| # This script will reboot your machine when completed. | |
| ########## | |
| # Ask for elevated permissions if required |
| func readLine(path string) { | |
| inFile, err := os.Open(path) | |
| if err != nil { | |
| log.Fatal(err) | |
| } | |
| defer inFile.Close() | |
| scanner := bufio.NewScanner(inFile) | |
| scanner.Split(bufio.ScanLines) | |
| package gvl | |
| import grails.converters.JSON | |
| class ErrorController { | |
| // Forbidden | |
| def error403() { | |
| withFormat { | |
| html { render(view: 'error403') } |
| Verifying that +dowens is my blockchain ID. https://onename.com/dowens |
I hereby claim:
To claim this, I am signing this object:
| upstream upstream_server { | |
| server 127.0.0.1; | |
| keepalive 512; | |
| } | |
| server { | |
| listen *:80; | |
| location / { |
Many programming languages, including Ruby, have native boolean (true and false) data types. In Ruby they're called true and false. In Python, for example, they're written as True and False.
But oftentimes we want to use a non-boolean value (integers, strings, arrays, etc.) in a boolean context (if statement, &&, ||, etc.). So someone designing a language has to decide what values count as "true" and what count as "false." A non-boolean value that counts as true is called "truthy," and a non-boolean value that counts as false is called "falsey."
| #!/usr/bin/env ruby | |
| # Rulog - Ruby Syslog Server | |
| # Captures syslog events and spits them out to Growl.app | |
| # Useful for on-spot debugging of a device with remote syslog support | |
| # Blocking IO | |
| # Run as root | |
| require 'socket' |
| =begin | |
| Requisitos Minimos para rodar este script: | |
| #jruby 1.1 ou superior (nao testei com superior :D) | |
| apt-get install jruby | |
| #baixar o oracle jdbc (para o 10g, ou procure a versão que deseje) de: | |
| http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_10201.html | |
| #copiar o ojdbc14.jar para (usar sudo): |