This file contains 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 _craclean(){ | |
rm -rf $1/src/App.js $1/src/App.css $1/src/App.test.js $1/src/index.css $1/src/logo.svg | |
cat << EOS > $1/src/App.js | |
import React, { Component } from 'react' | |
export default class App extends Component { | |
render() { | |
return ( | |
<div> | |
App | |
</div> |
This file contains 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 git_squash_branch() { | |
b=$1 | |
git merge --squash "$b" | |
echo "" | |
echo "" | |
git log --reverse --format='%h %s ► %an <%ae>' .."$b" | |
#git commit -m "$(git log --reverse --format='%h %s ► %an <%ae>' .."$b")" | |
} | |
alias gsb="git_squash_branch" |
This file contains 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
<?php | |
$_GET["username"] = ""; | |
//$_GET["db"] = ""; | |
function adminer_object() { | |
class AdminerAutoLogin extends Adminer { | |
function credentials() { | |
return array("127.0.0.1", "root", "root"); | |
} | |
function login($login, $password) { | |
return true; |
This file contains 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
article > div > div:nth-child(2) > div:nth-child(2) > div:nth-child(3) div[aria-label="Embedded video"] { | |
filter: blur(10px); | |
} | |
article > div > div:nth-child(2) > div:nth-child(2) > div:nth-child(3) div[aria-label="Embedded video"]:active { | |
filter: none; | |
} | |
article > div > div:nth-child(2) > div:nth-child(2) > div:nth-child(3) div[aria-label="Image"] { | |
filter: blur(10px); |
OlderNewer