Skip to content

Instantly share code, notes, and snippets.

View Yunnanzhanglei's full-sized avatar

Yunnanzhanglei

View GitHub Profile
@shohan4556
shohan4556 / GCD euclid
Created December 11, 2014 02:51
GCD euclid
#include<stdio.h>
int main()
{
int a,b,c,i,j,temp,temp1;
while(scanf("%d %d",&a,&b)==2){
if(a<b){
temp1=a;
a=b;
b=temp1; // b get the value of a just swapped
}
@joest67
joest67 / pr_hipchat_notify.sh
Created December 11, 2014 03:06
Nofify us when we receive a pull-request by hipchat
#!/bin/sh
# Source config file
# should contains follows variables:
# AUTH_TOKEN
# ROOM_ID
source config.sh
my_func() {
return 1
@kzkamiya
kzkamiya / index.html
Last active August 29, 2015 14:11
Angular File Upload
<!DOCTYPE html>
<html>
<head>
<!--
https://bl.ocks.org/kzkamiya/raw/3b2dbd9ba7fd566da494/
-->
<meta chraset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet">
<title>file upload</title>