I hereby claim:
- I am mabako on github.
- I am mabako (https://keybase.io/mabako) on keybase.
- I have a public key whose fingerprint is D91F 3155 2D57 CA0F 362A 4C67 AF45 C9AC 8FAA 66A1
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| require 'httparty' | |
| require 'net/http' | |
| player_id = 115095 | |
| folder_name = 'sgf-files' | |
| Dir.mkdir(folder_name) unless Dir.exist?(folder_name) | |
| Dir.chdir(folder_name) | |
| class Player |
| private UILabel CreateLabel(string type, Vector2 location, string text) | |
| { | |
| var lblObject = new GameObject("NameOfTheMod/" + type, typeof(UILabel)); | |
| lblObject.transform.parent = panel.transform; | |
| var label = lblObject.GetComponent<UILabel>(); | |
| label.absolutePosition = location; | |
| label.textAlignment = UIHorizontalAlignment.Center; | |
| label.verticalAlignment = UIVerticalAlignment.Middle; |
| func main() { | |
| var url string = "http://www.fh-zwickau.de" | |
| cs := make(chan Wortspeicher, 1337) | |
| done := make(chan bool) | |
| go KompletteWortanalyse(cs, done) | |
| // Es sollte die gesamte Textanalyse für alle Seiten geschehen, bevor (cs) geschlossen wird, d.h. wie auch immer das umgesetzt wird. | |
| go AnalyzeText(url, cs) // ... usw. für mehrere Textdateien | |
| - title 'Commits' | |
| - content_for(:head) do | |
| = auto_discovery_link_tag :rss, commits_url(:rss), title: "Commits" | |
| - grouped = @commits.group_by { |c| c[:date].to_date } | |
| - grouped.each_pair do |date, commits| | |
| section.section.swatch-white-red | |
| .container.element-short-top | |
| .row | |
| .col-md-3.element-short-bottom |
| virt-install --connect qemu:///system -n win -r 2048 --vcpus=2 --disk /path/win.img,device=disk,bus=virtio --os-type windows --os-variant win2k8 -w network=default,model=virtio --hvm --vnc --noautoconsole --import |
| class Events | |
| { | |
| /* | |
| * Add all Events & Execute the relevant ones for the players currently in game | |
| */ | |
| function Initialize() | |
| { | |
| Event.Add(Package.Current(), "stop", OnStop); | |
| Event.Add(Player, "enterVehicle", OnEnterVehicle); |
| gendef.exe libmysql.dll | |
| dlltool -v --dllname libmysql.dll --def libmysql.def --output-lib libmysql.lib |
| #ifndef __CUSTOMTYPE_H | |
| #define __CUSTOMTYPE_H | |
| #include <cassert> | |
| #include <map> | |
| #include "SDK/ScriptInstance.h" | |
| #include "SDK/ScriptArguments.h" | |
| class CustomType : public SDK::ScriptInstance | |
| { |
| local disabled = {[425] = true, [520] = true, [476] = true, [464] = true, [430] = true} | |
| addEventHandler("onPlayerVehicleEnter", root, | |
| function(vehicle) | |
| local enabled = not disabled[getElementModel(vehicle)] | |
| toggleControl(source, 'vehicle_fire', enabled) | |
| toggleControl(source, 'vehicle_secondary_fire', enabled) | |
| end) | |
| addEventHandler("onResourceStart", resourceRoot, |