I hereby claim:
- I am if1live on github.
- I am if1live (https://keybase.io/if1live) on keybase.
- I have a public key whose fingerprint is 24A1 67F1 AD41 EC41 1938 CEE8 FE22 879B 7E79 AFE3
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| #-*- coding: utf-8 -*- | |
| """ | |
| pip install requests | |
| """ | |
| import urllib | |
| import requests |
| #!/usr/bin/env ruby | |
| require "parallel" | |
| class User | |
| attr_accessor :name | |
| def initialize(name) | |
| @name = name | |
| end | |
| end |
I hereby claim:
To claim this, I am signing this object:
| /* | |
| printf(%s) with null pointer | |
| ## Execute | |
| $ clang test_format_null.c && ./a.out | |
| ## Output | |
| ### OSX | |
| |(null)||(nu| |
| #include <string> | |
| #include <cstring> | |
| class BrokenMemory { | |
| public: | |
| static BrokenMemory *Get(); | |
| public: | |
| BrokenMemory() : data_("EPIC FAIL") {} | |
| const char *data() const { return data_.data(); } | |
| private: |
| /* | |
| https://twitter.com/k2pa00/status/737300123332419585 | |
| execute | |
| $ gprolog | |
| ['contradiction.pl']. | |
| sol_a(A, B, C, D). | |
| sol_b(A, B, C, D). | |
| sol_c(A, B, C, D). | |
| sol_d(A, B, C, D). |
| using UnityEngine; | |
| namespace Assets.GameExternal.Scripts { | |
| public class EffectGizmo : MonoBehaviour { | |
| public enum Types { | |
| Sphere, | |
| DirectionX, | |
| DirectionY, | |
| DirectionZ, | |
| } |
| // ==UserScript== | |
| // @name Twitter Cramming | |
| // @description Force enable cramming (280 character tweets) on Twitter | |
| // @author Prof. 9 | |
| // @version 0.2 | |
| // @match https://twitter.com/* | |
| // @run-at document-idle | |
| // @namespace prof9.twittercramming | |
| // ==/UserScript== |
| #!/bin/bash | |
| LOG_FILE=/tmp/touchpad-enable-log | |
| XINPUT_ID=`xinput list|grep Touchpad|awk '{print $5}'|cut --delimiter="=" -f 2` | |
| function enable_touchpad() { | |
| #/usr/bin/synclient TouchpadOff=0 | |
| xinput --enable $XINPUT_ID | |
| echo "touchpad_enable\t:`date`" >> $LOG_FILE | |
| } |
| #include <stdio.h> | |
| void execute(int n, int total) { | |
| printf("loop count : %d/%d\n", n, total); | |
| } | |
| int loop_core(int *root_addr, int *prev_addr, int num) { | |
| int base_value = 0; |