I hereby claim:
- I am andyli on github.
- I am andyli (https://keybase.io/andyli) on keybase.
- I have a public key whose fingerprint is DF01 A922 9726 D0FA 42F7 5706 6DAC 3C44 8773 381A
To claim this, I am signing this object:
| suffix="_nogps" | |
| for f in "$@" | |
| do | |
| extension=${f##*.} | |
| newfile="${f%.$extension}$suffix.$extension" | |
| /usr/local/bin/exiftool -gps:all= -xmp:geotag= "$f" -o "$newfile" | |
| done |
| import haxe.macro.Context; | |
| import haxe.macro.Expr; | |
| import haxe.macro.Type; | |
| using Lambda; | |
| /** | |
| Old school abstract class. | |
| Classes that implements it, and their sub-classes, will be able to declare abstract methods (methods that without body). | |
| There will be a check in compile-time such that no public constructor is allowed without all abstract methods implemented. | |
| */ |
| const express = require('express'); | |
| const Telegraf = require("telegraf"); | |
| const MySQLSession = require('telegraf-session-mysql'); | |
| const token = process.env.TGBOT_TOKEN; | |
| const telegraf = new Telegraf(token); | |
| const session = new MySQLSession({ | |
| host: process.env.MYSQL_ENDPOINT, | |
| user: process.env.MYSQL_USER, | |
| password: process.env.MYSQL_PASSWORD, |
| //Ported from the work of Zeh: | |
| //http://zehfernando.com/2010/the-best-drawplane-distortimage-method-ever/ | |
| import flash.display.BitmapData; | |
| import flash.display.Graphics; | |
| import flash.geom.Point; | |
| import flash.Vector; | |
| class PerspectiveImage { | |
| /** |
| package; | |
| /* | |
| * 1€ Filter http://www.lifl.fr/~casiez/1euro/ | |
| * Haxe version by Andy Li (andy@onthewings.net) | |
| * | |
| * Based on OneEuroFilter.cc - Nicolas Roussel (nicolas.roussel@inria.fr) | |
| */ | |
| class OneEuroFilter { |
I hereby claim:
To claim this, I am signing this object:
| @:native("$.prompt") | |
| extern class Impromptu { | |
| @:selfCall // @:selfCall avoid generation of `new` | |
| public function new(msg:Dynamic, ?options:Dynamic):Void; | |
| static public function setDefaults(options:Dynamic):Void; | |
| static public function open(states:Dynamic, ?options:Dynamic):Impromptu; | |
| } | |
| class Test { |
| @echo off | |
| reg add "HKCU\Software\Microsoft\Internet Explorer\Styles" /f | |
| reg add "HKCU\Software\Microsoft\Internet Explorer\Styles" /v "MaxScriptStatements" /t REG_DWORD /d 0xFFFFFFFF /f |
I hereby claim:
To claim this, I am signing this object:
| #include<iostream> | |
| using namespace std; | |
| int main(int argc, char** argv) { | |
| char c = 'a'; | |
| const char * a = &c; | |
| // *a = 'b'; // error: read-only variable is not assignable | |
| cout << *a << endl; //a | |
| c = 'b'; |