Skip to content

Instantly share code, notes, and snippets.

View shirohana's full-sized avatar

Hana Shiro shirohana

View GitHub Profile
@shirohana
shirohana / tioj_1004.cpp
Created January 3, 2016 10:05
TIOJ - problem 1004 - Use linked-list
// Problem source: http://tioj.infor.org/problems/1004
#include <iostream>
using namespace std;
typedef struct node {
int data;
node *next;
@shirohana
shirohana / ellipsis.css
Last active February 5, 2017 14:39
Bootstrap list-group in oneline with badge
.ellipsis {
display: -webkit-flex;
display: flex;
}
.ellipsis .ellipsis-item {
-webkit-flex: 1;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
class Test {
public static void main(String[] args) {
System.out.println("Test Gist!");
}
}