Skip to content

Instantly share code, notes, and snippets.

--<[)r3\/\/>-- ogryzek

Block or report user

Report or block ogryzek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View AttackSkills.txt
General:
0 - Attack
1 - Kick
2 - Throw
3 - Unsummon
4 - Left Hand Throw
5 - Left Hand Swing
Amazon:
6 - Magic Arrow
@ogryzek
ogryzek / character_config.md
Last active Jan 21, 2019
Some Character Config Settings for Kolbot
View character_config.md

Character Config for Kolbot - Quick Reference

Attack skill reference

General

Inventory

0 to not touch, 1 if you don't care about that slot:

View some_scripting.js
// 1.) Write a function `cigs()` that takes an argument `perHour`, and
// logs "You smoke (however many perHour) cigs per hour."
function cigs(perHour) {
first = "You smoke ";
middle = perHour;
last = " cigs per hour.";
msg = first + middle + last;
console.log(msg);
}
View aws_shippable_docker.md
@ogryzek
ogryzek / log_example.go
Last active Jul 15, 2016
Messing around with writing logs to a file in Go (Golang)
View log_example.go
// log_example.go
package main
import (
"fmt"
mypackage "github.com/ogryzek/log_practice/mypackage"
"log"
"net/http"
"os"
)
View songs.go
package main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
)
var ThirdPartyApi = "http://www.coolsongssite.api"
@ogryzek
ogryzek / translate_json.go
Last active May 17, 2016
Take a json request and output json with the same data but different keys.
View translate_json.go
package main
import (
"encoding/json"
"fmt"
"net/http"
)
type Greetings struct {
Greetings []Greeting `json:"data"`
@ogryzek
ogryzek / family.go
Last active May 10, 2016
Go api endpoint to handle creating nested structs from json data
View family.go
/* `go run family.go` to run this on your localhost at port 3000
curl -X POST -d '{"family_name": "Smith", \
"members": [{"role": "parent", "gender": "female" \
, "age": 33}, {"role": "child", "gender": "male", "age": 5}, \
{"role": "parent", "gender": "male", "age": 40}]}' \
http://localhost:3000/family/new
Will print the following to the console:
View react_native_android.md

React Native on Android

with Brent Vatne, April 19th, 2016


References: ReactNative Docs | web views | slider | make it open | Redux | Relay | Jest

Phone Gap is essentially a wrapper around your web browser in your mobile that takes up your full screen. When you want to make calls to APIs, you use the camera, or something like that, you make calls to the native side. ReactNative is more similar to Titanium, or NativeScript something like that. It actually uses the platform-native UI libraries.

Our First App

@ogryzek
ogryzek / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.