Skip to content

Instantly share code, notes, and snippets.

View Phonbopit's full-sized avatar
👻
¯\_ (ツ) _/¯

Chai Phonbopit Phonbopit

👻
¯\_ (ツ) _/¯
View GitHub Profile
@bartholomej
bartholomej / css-media-queries-cheat-sheet.css
Last active April 28, 2025 21:34
CSS Media Query Cheat Sheet (with Foundation)
/*------------------------------------------
Responsive Grid Media Queries - 1280, 1024, 768, 480
1280-1024 - desktop (default grid)
1024-768 - tablet landscape
768-480 - tablet
480-less - phone landscape & smaller
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) { }
@media all and (min-width: 768px) and (max-width: 1024px) { }
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active May 5, 2025 13:05
A badass list of frontend development resources I collected over time.
@74togo
74togo / artillery.java
Created January 26, 2013 19:31
Little artillery game
import java.util.*;
import java.lang.Math.*;
import java.text.*;
public class artillery {
private static Random rand = new Random(); // We use this to generate random numbers
public static String input(String s) {
/* input() simplifies the process of asking for input
@kobakei
kobakei / MainActivity.java
Created January 13, 2013 19:22
Android:YouTubeの動画URLを取得してMediaPlayerで再生するサンプル
/**
* This code is originally from here:
* http://stackoverflow.com/questions/7203047/code-for-download-video-from-youtube-on-java-android
*
* And some code about HTTP header is from here:
* http://xissy.github.com/dev/2012/09/28/get-a-youtube-mp4-file-link-which-can-be-played-iphone/
*/
package com.example.zzz;
import java.io.IOException;
@ndarville
ndarville / business-models.md
Last active February 27, 2025 10:00
Business models based on the compiled list at http://news.ycombinator.com/item?id=4924647. I find the link very hard to browse, so I made a simple version in Markdown instead.

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
@p01
p01 / LICENSE.txt
Last active May 23, 2024 13:46 — forked from 140bytes/LICENSE.txt
Sudoku Solver in 140bytes
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Mathieu 'p01' Henri - http://www.p01.org/releases/
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE