This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AuthTwitterLoginHandler(LoginHandler, tornado.auth.TwitterMixin): | |
@tornado.web.asynchronous | |
@gen.engine | |
def get(self): | |
my_url = (self.request.protocol + "://" + self.request.host + | |
"/auth/twitter?next=" + | |
tornado.escape.url_escape(self.get_argument("next", "/"))) | |
if self.get_argument("oauth_token", None): | |
user = yield gen.Task(self.get_authenticated_user) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a=->x{x.unpack('m')[0]};C=a.call %(############################################################################################################################# | |
RD1bMTE3MzE1MDAyNDQ4NSwyODY1MzY0NTQyNzU3LDM5NjQ5MTAyNDg3NDMsMjgzOTU5NjMxMTg0NSwyODM5NTk1NzYyOTgxXQpFPVsyNTUsNjYsMjU1LDY2LDY2LDY2LDY2XQpGPVs2Myw5OSwxNDksMjY1LDc2 | |
MSwxMTkzLDMyNjksMjk0OSwyNDk5LDI2MTEsMzA4Nyw0MDk1XQpHPSVcICAuLi4sLCxYYGAuLi4sLCxYYGB+LS0tOztYJ35+LTo6OztYXn5+Ojo7KChYIn5+ISF8KV1YIiIhISEhIXtYIioqKjw8PE1cLnNwbGl0 | |
KCdYJykKZGVmIGFhYiBhYWMseCx5CiAgeD49MCAmJiB5Pj0wICYmICgoYWFjW3ldfHwwKT4+eCkmMT09MQplbmQKSD1bQ10ucGFjaygnbScpLmRlbGV0ZSgiXG4iKQpAX3Q9QHQ9MApsb29wIGRvCiAgdyxoPTE2 | |
MCw4MAogIEBfdCs9MC4wMQogIEB0PUBfdCUxCiAgYWFkPSgxLi5oKS5tYXB 7KDEu LncpL m1hc HsxfX 0KICB hYWU 9LT4oYWFjLGN4LGN5LGFhZixhYWc9YWFmLGFhaDogMC4xLGFhaTogZmFsc2 | |
UpewogICAgY3csY2g9YWFjLm1heC5iaXRfbGVuZ3RoLGFhYy5zaXplCiA g I C A oW2N4LWFhZi8yLDBdLm1heC5yb3VuZC4uW2N4K2FhZi8yLHctMV0ubWlu | |
LnJvdW5kKS5lYWNoIGRvIHx4fAogICAgICAoW2N5LWFhZy8yLDBdLm1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;***************************************************************************************************** | |
; Program file name: snes.asm | |
; | |
; CPTR 215 Final Project: | |
; Language: 8051 Assembly | |
; Operating system: Windows | |
; Programmer: Zach Burke | |
; Date Written: 12/11/01 | |
; | |
; Description: This program emulates SNES hardware to capture SNES controller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isu1$ rsync -avr isu{1..4}:/etc/mysql ~/repo/etc/isu{1..4}/ | |
isu1$ rsync -avr isu{1..4}:/etc/nginx ~/repo/etc/isu{1..4}/ | |
isuN$ sudo rm /etc/nginx/nginx.conf && ln -s ~/repo/etc/isuN/nginx/nginx.conf /etc/nginx/nginx.conf | |
isuN$ sudo rm /etc/nginx/sites-enabled/cco.nginx.conf && ln -s ~/repo/etc/isuN/nginx/sites-available/cco.nginx.conf /etc/nginx/sites-enabled/cco.nginx.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.moznion.javacard.helloworld; | |
import javacard.framework.*; | |
import javacardx.framework.*; | |
public class HelloWorldApplet extends Applet { | |
private final static byte HELLO_WORLD_CLA = (byte)0xB0; | |
private final static byte SELECT_INS = (byte)0xA4; | |
private final static byte HELLO_INS = (byte)0x50; | |
private final static byte[] HELLO_TEXT = {(byte)'H',(byte)'e',(byte)'l',(byte)'l',(byte)'o'}; |
新世代のemacsを目指して作られた[1]エディタAtom。「emacsは環境」という言葉もあるように多機能なemacsに対し、Atomはどんな機能があるのかまとめてみた。「こんなこともできるよ」と「これオススメだよ」と「これよく探されるよ」がごっちゃになってるので、実用性はあんまり無い。特にエディタっぽい機能を求めている場合は他を参照のこと。
これは 高知工科大 Advent Calendar 2018 5日目の記事です
みなさんこんにちは.最近1番コード書いてるのに何故かGitHubには草が生えないnnksです.
この記事ではみなさんおなじみ顔本ページの投稿をWebスクレイピングしたことを書いていきたいと思います.
書いてたらなんか無駄に長くて技術記事と言うよりかはブログみたいな感じになったけど許して
これは高知工科大 Advent Calendar 2018の8日目の記事です.
最近私の中で話題になっている,Graal/Truffle について書く. すごく抽象的なことしか述べない.
JavaScript や Ruby , Python などといった,動的なプログラミング言語の高速化が難しいことは
2011年7月4日
あらゆる行動は意識を変えることを目的としている。私たちは特定の感情、例えば愛を手に入れ、一方で孤独のような感情を避けるために友情を結ぶ。特定の食べ物が舌に与えるひとときの感覚を楽しむためにそれを口にする。他人の思考について考える楽しみのために本を読む。私たちは目を覚ましている全ての瞬間において—そして夢の中でさえ—身体感覚や感情、認識の流れを、価値を置く意識状態に向けようともがいている。
OlderNewer