Skip to content

Instantly share code, notes, and snippets.

View raksa's full-sized avatar
🎯
Focusing

raksa raksa

🎯
Focusing
View GitHub Profile
@raksa
raksa / index.html
Created May 13, 2017 00:55
HTML-CSS: maintenance page aim to mobile instead
<!doctype html>
<html>
<head>
<title>Your Site</title>
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="img/favoicon.png">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height"
/>
<style>
@raksa
raksa / update_author.sh
Created April 19, 2017 08:23
auto reset git committed author
#!/bin/sh
git filter-branch --env-filter '
OLD_EMAIL="old.name@mail.com"
CORRECT_NAME="newname"
CORRECT_EMAIL="new.name@mail.com"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
export GIT_COMMITTER_NAME="$CORRECT_NAME"
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL"
@raksa
raksa / vendor-prefix-mixin.scss
Last active April 15, 2022 11:42
Vendor prefix mixin for sass.
@mixin prefix-border-radius($radius) {
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
-ms-border-radius: $radius;
border-radius: $radius;
}
// http://joshbroton.com/quick-fix-sass-mixins-for-css-keyframe-animations/
@mixin animation($animate...) {
$max: length($animate);