Skip to content

Instantly share code, notes, and snippets.

Avatar
😁
Working

Sung M. Kim dance2die

😁
Working
View GitHub Profile
@dance2die
dance2die / Move.sh
Created Apr 30, 2021
Move Ubuntu Unity Docks
View Move.sh
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 Jan 12, 2021
Bash scripts to change screen resolution
View 1280x720.sh
#!/bin/bash
xrandr --output eDP-1-1 --mode 1280x720
View poll.md
@dance2die
dance2die / List.md
Last active Aug 29, 2020
Linux programs
View List.md
@dance2die
dance2die / dev.to link tampermonkey script
Created Jul 2, 2020
To view all dev.to article links easily without hovering over each one
View dev.to link tampermonkey script
@dance2die
dance2die / .gitconfig
Created Jun 28, 2020
A user git config on windows - to be copied over in Linux
View .gitconfig
[user]
email = sungmkim80@gmail.com
name = Sung M. Kim
[alias]
cm = commit -m
co = checkout
rv = remote -v
st = status
aa = add .
br = branch
View mui-theme-dark.js
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 Apr 26, 2020
Gatsby Recipe for Tailwind CSS with TypeScript
View postcss.config.js
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 Dec 26, 2019
Building Gatsby with GitHub Actions and deploying to Netlify
View workflow.yml
name: Build and Deploy to Gatsby every hour
on:
schedule:
- cron: '0 */2 * * *'
jobs:
build:
runs-on: ubuntu-latest
View gist css.jsx
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. */}