echo 'xrandr --output HDMI-1 --scale 0.5x0.5' >> $HOME/.xprofile
cat /etc/X11/xorg.conf
Section "Monitor"
Identifier "eDP1"
Option "PreferredMode" "1920x1080"
Option "Position" "0 0"
EndSection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle exec rails new akari-api --api --database=mysql |
vue init webpack yabai
cd yabai/
npm i -D style-loader css-loader
npm i -S bootstrap jquery popper.js
- kafka
- LINE
- rabbitmq
- redis
- camel
- activemq
- zeromq
- nsq
- Music
- profile
- band camp
- youtube(favorite moive)
- gravatar
- github
- Make Friends
- same hobbies
- artist
- buy and sell tickets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getQuery(key){ | |
var search = $(location).attr('search'); | |
var params = search.slice(1).split('&'); | |
for(var i = 0; i < params.length; i++) { | |
kv = params[i].split('='); | |
if(kv[0] == key) { | |
if(kv.length == 2) { | |
return kv[1]; | |
} else { | |
return ""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
_ "database/sql" | |
"fmt" | |
_ "github.com/go-sql-driver/mysql" | |
"github.com/jmoiron/sqlx" | |
) | |
const SQL = "SELECT `name` FROM `users` WHERE id = :id" |
asd
NewerOlder