Skip to content

Instantly share code, notes, and snippets.

View jukbot's full-sized avatar
🏠
Working from home

Juk - a search builder jukbot

🏠
Working from home
  • CalCal
  • Bangkok, Thailand
  • X @jukbot
View GitHub Profile
{
"color_scheme": "Packages/Seti_UI/Scheme/Seti.tmTheme",
"disable_formatted_linebreak": true,
"font_size": 9,
"ignored_packages":
[
"Vintage"
],
"show_full_path": true,
"soda_classic_tabs": false,
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"AdvancedNewFile",
"All Autocomplete",
"AngularJS",
[
{ "keys": ["ctrl+shift+f"], "command": "code_formatter"}
]
// # Ghost Configuration
// Setup your Ghost install for various environments
// Documentation can be found at http://docs.ghost.org/usage/configuration/
var path = require('path'),
config;
config = {
// ### Development **(default)**
development: {
@jukbot
jukbot / 5.3 General Compilation Instructions
Last active March 17, 2016 17:51
Linux from scratch guide
First!! Recommended to log in as root in new terminal (sudo su) then
install the following as root first (sudo -s) important for temp environment
sudo apt-get update
sudo apt-get upgrade (!! For permanant install linux only NOT FOR LIVE CD)
If you're using ubuntu / xubuntu you must download automake 1.15 install .deb to your system
https://launchpad.net/ubuntu/wily/amd64/automake/1:1.15-1ubuntu1
sudo apt-get install bison
sudo apt-get install gawk
@jukbot
jukbot / JukOS grub.cfg
Last active March 23, 2016 18:01
JukOS Grub config
# Begin /boot/grub/grub.cfg
# Grub2 Configulation File for JukOS
GRUB_INIT_TUNE="480 440 4 440 4 440 4 349 3 523 1 440 4 349 3 523 1 440 8 659 4 659 4 659 4 698 3 523 1 415 4 349 3 523 1 440 8"
menuentry "JukOS 1.1 (Build 2016.03.07) , Linux 4.4.2-lfs-7.9" {
insmod ext2
set root=(hd0,3) # Boot partition directory
# Linux kernel root directory
echo 'Loading Linux kernel 4.4.2 ...'
@jukbot
jukbot / 404.html
Created August 3, 2016 19:14
Sample 404 not found page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>404 Not found</title>
<style type="text/css">
body {
background-color: #FFF;
}
svg {
@jukbot
jukbot / ScorePlot.java
Created August 3, 2016 19:17
Example Print ScorePlot in Java
import java.io.File;
import java.util.Scanner;
public class ScorePlot {
public static void main(String[] args) throws Exception {
// read file
File student = new File("student.txt");
Scanner in = new Scanner(student);
@jukbot
jukbot / StudentLog.java
Last active August 3, 2016 19:21
Example print a sort student log from unsort student log file in java
import java.io.File;
import java.io.PrintWriter;
import java.util.Scanner;
import java.util.Arrays;
class StudentLog {
public static void main(String[] args) throws Exception {
File input = new File("student_log.txt");
@jukbot
jukbot / student_log_sort.txt
Created August 3, 2016 19:22
sorted student log file
2015 Mr.Lary Pages
2014 Mr.John Smith
2012 Mr.Mark Zuckerburg
2011 Ms.Jane Smith
2011 Mr.Elon Musk
2010 Mr.Steve Jobs
2010 Mr.Steve H.
2008 Mr.Bill Gates
2005 Mr.Joe Doe