Skip to content

Instantly share code, notes, and snippets.

View notyes's full-sized avatar
🕹️
enjoy your time

Jirayu Kanda notyes

🕹️
enjoy your time
View GitHub Profile
@notyes
notyes / google-services-whitelist.txt
Created March 4, 2024 09:20
google-services-whitelist.txt
! Title: AdGuard Google whitelist
! Homepage: https://gist.github.com/DessertArbiter/ba13c026c0d3058fd122e082898c2c84
! Expires: 4 days (update frequency)
! Version: 0.2.1
! Google
@@||0.client-channel.google.com^$important,document,~extension
@@||2.android.pool.ntp.org^$important,document,~extension
@@||android.clients.google.com^$important,document,~extension
@@||appsbackup-pa.clients6.google.com^$important,document,~extension
@@||appsbackup-pa.googleapis.com^$important,document,~extension
@notyes
notyes / Dockerfile
Created March 8, 2019 10:27
File docker compose for run node and nginx
# file docker run node
FROM node:7.7.2-alpine
WORKDIR /usr/app
COPY ./app/package.json .
RUN npm install --quiet
COPY . .
@notyes
notyes / iTerm2.sh
Created June 2, 2016 10:38
iTerm2 V3.0.0 Terminal Config Sublime
#!/usr/bin/osascript
do shell script "pwd"
set targetFolder to quoted form of POSIX path of result
tell application "/Applications/iTerm.app"
-- A count of 0 means that iTerm is open with no windows, or that iTerm is
-- closed. If it's closed, counting the windows opens it.
if (count of windows) is 0 then
-- If iTerm was closed, but is now open, it'll have one window.
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to make opened Markdown files always be soft wrapped:
#
# path = require 'path'
#
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>We’ll be back soon!</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
{
"afn_template_languages": true,
"afn_valid_scopes":
[
"string",
"css",
"sass",
"less",
"scss",
"jade"
@notyes
notyes / Knowledge Set Up Sever Host Ubuntu
Last active August 29, 2015 14:20
Knowledge Set Up Sever Host Ubuntu
Install apache php
sudo apt-get install apache2 mysql-server php5 libapache2-mod-php5 php5-cli php5-cgi php5-mysql php5-curl php5-imap php5-mcrypt php5-xcache php5-xdebug git
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04
@notyes
notyes / Knowledge Set Up Sever Host Ubuntu
Created April 27, 2015 09:37
Knowledge Set Up Sever Host Ubuntu
Install apache php
sudo apt-get install apache2 mysql-server php5 libapache2-mod-php5 php5-cli php5-cgi php5-mysql php5-curl php5-imap php5-mcrypt php5-xcache php5-xdebug git
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04
@notyes
notyes / 0_reuse_code.js
Last active August 29, 2015 14:19
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console