Skip to content

Instantly share code, notes, and snippets.

@neonichu
neonichu / ingress.py
Last active August 28, 2023 18:02
Demo of accessing the Ingress API.
#!/usr/bin/env python
import cookielib
import json
import mechanize
#####
GOOGLE_USER = '[email protected]'
GOOGLE_PASS = 'your-password'
#####
@tsux89
tsux89 / Twitter Client CK CS
Last active July 30, 2016 10:31
Twitter Client CK/CS
ShootingStar
Consumer key: Eb8hyAEUju1f2g0i2iSwTQ
Consumer secret: lOBgiyGJcYK4jsUc2It38ORlsJC0a60USShZrosMTlw
ShootingStarPro
Consumer key: I8ye5YHbnFUVzrWdyEkXw
Consumer secret: UTXlrSs9IuZuhfxfwBDckzMDHCI8HRlTNtitiV2OL4
@hayajo
hayajo / changelog_en.md
Last active April 1, 2025 14:37
ChangeLog を支える英語

ChangeLog を支える英語

ChangeLog を書く際によく使われる英語をまとめました。

ほとんど引用です。

基本形

@gabehesse
gabehesse / StatusBar.cs
Created May 16, 2011 21:59
Status bar in C# console application
/// <summary>
/// Draw a progress bar at the current cursor position.
/// Be careful not to Console.WriteLine or anything whilst using this to show progress!
/// </summary>
/// <param name="progress">The position of the bar</param>
/// <param name="total">The amount it counts</param>
private static void drawTextProgressBar(int progress, int total)
{
//draw empty progress bar
Console.CursorLeft = 0;
@cowboy
cowboy / gyazo.php
Created October 6, 2009 21:30
PHP upload for Gyazo
<?PHP
/*
* PHP upload for Gyazo - v1.2.1 - 3/13/2011
* http://benalman.com/news/2009/10/gyazo-on-your-own-server/
*
* Copyright (c) 2011 "Cowboy" Ben Alman
* Licensed under the MIT license
* http://benalman.com/about/license/
*/