Skip to content

Instantly share code, notes, and snippets.

View dance2die's full-sized avatar
🐰
Working

Sung M. Kim dance2die

🐰
Working
View GitHub Profile
@dance2die
dance2die / Move.sh
Created April 30, 2021 02:40
Move Ubuntu Unity Docks
gsettings set org.gnome.shell.extensions.dash-to-dock dock-position BOTTOM
gsettings set org.gnome.shell.extensions.dash-to-dock dock-position TOP
gsettings set org.gnome.shell.extensions.dash-to-dock dock-position RIGHT
gsettings set org.gnome.shell.extensions.dash-to-dock dock-position LEFT
@dance2die
dance2die / 1280x720.sh
Last active January 12, 2021 20:16
Bash scripts to change screen resolution
#!/bin/bash
xrandr --output eDP-1-1 --mode 1280x720
@dance2die
dance2die / poll.md
Last active January 11, 2021 01:52
@dance2die
dance2die / List.md
Last active August 29, 2020 21:35
Linux programs
@dance2die
dance2die / dev.to link tampermonkey script
Created July 2, 2020 06:14
To view all dev.to article links easily without hovering over each one
@dance2die
dance2die / .gitconfig
Created June 28, 2020 21:13
A user git config on windows - to be copied over in Linux
[user]
email = sungmkim80@gmail.com
name = Sung M. Kim
[alias]
cm = commit -m
co = checkout
rv = remote -v
st = status
aa = add .
br = branch
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import baseTheme from 'material-ui/styles/baseThemes/darkBaseTheme';
import * as Colors from 'material-ui/styles/colors';
import { fade } from 'material-ui/utils/colorManipulator'
const getTheme = () => {
let overwrites = {
"appBar": {
"textColor": Colors.white,
"color": fade(Colors.darkBlack, 0.87)
@dance2die
dance2die / postcss.config.js
Last active April 26, 2020 23:46
Gatsby Recipe for Tailwind CSS with TypeScript
const purgecss = require('@fullhuman/postcss-purgecss')({
// Specify the paths to all of the template files in your project
content: [
'./src/**/*.html',
'./src/**/*.js',
'./src/**/*.jsx',
'./src/**/*.ts',
'./src/**/*.tsx',
'./public/index.html',
],
@dance2die
dance2die / workflow.yml
Created December 26, 2019 02:27
Building Gatsby with GitHub Actions and deploying to Netlify
name: Build and Deploy to Gatsby every hour
on:
schedule:
- cron: '0 */2 * * *'
jobs:
build:
runs-on: ubuntu-latest
export default ({}) => {
return (
<Layout>
<SEO
frontmatter={frontmatter}
url={new URL(slug, siteUrl).href || siteUrl}
/>
<Link to={`/blog/${year}`}>&larr; Go Back</Link>
👇
{/* This "link" is for styling gists. */}