Skip to content

Instantly share code, notes, and snippets.

uhfx uhfx

Block or report user

Report or block uhfx

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View name_changer.rb
# -*- encoding: utf-8 -*-
require 'rubygems'
require 'tweetstream'
require 'twitter'
require './key.rb'
Twitter.configure do |config|
config.consumer_key = Const::CONSUMER_KEY
config.consumer_secret = Const::CONSUMER_SECRET
config.oauth_token = Const::ACCESS_TOKEN
View calculation.cpp
#include <iostrea>
#include <cstdlib>
#include <ctime>
using namespace std;
int funcfor();
int main()
{
double answer;
int num;
int count=0;
View up.html
<!-- 「トップへ戻る」ボタン -->
<div id="back-to-top" style="position:fixed;right:12px;bottom:12px"><a href="#"><img src="画像のURLを用意" /></a></div>
<script>
$(function(){
$("#back-to-top").hide();
$(window).scroll(function(){
if($(this).scrollTop() > 500){
$("#back-to-top").fadeIn();
} else{
View oauth
https://github.com/mpyw/TwistOAuth
@uhfx
uhfx / gist:3922263
Created Oct 20, 2012
Twitter公式クライアントのコンシューマキー
View gist:3922263

Twitter公式クライアントのコンシューマキー

Twitter for iPhone

Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU

Twitter for Android

Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPad

Consumer key: CjulERsDeqhhjSme66ECg
View twitter-wiget-api10
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 5,
interval: 6000,
width: 'auto',
height: 300,
theme: {
View name.c
/* name.c */
#include <stdio.h>
int main(void)
{
char str[101];
printf("お名前を入力してください。\n");
scanf("%s", str);
printf("%sさん、こんにちは。死んでwwwwwwwwwwwwwwwwwwww\n", str);
return 0;
@uhfx
uhfx / sts.c
Created May 12, 2013
シュースターのレベル
View sts.c
#include <stdio.h>
#include <math.h>
#define MAX_LV 100
int main(void){
int i,n;
int sum = 0;
printf("LV\t#NEXT\t#TOTAL\n");
View nemui.c
#include<stdio.h>
main( )
{
;printf("眠い\n")
;}
@uhfx
uhfx / main.java
Last active Dec 20, 2015
これの引き算みて
View main.java
package net.uhfx.calculator;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.widget.TextView;
public class Main extends Activity {
You can’t perform that action at this time.