/var/lib/rundeck/data/rundeckdb.mv.db
/var/rundeck/projects/
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
#!/bin/sh | |
i=1 | |
while : | |
do | |
curl -kL http://example.com -o /dev/null -w "status-code %{http_code} \t time %{time_total}" 2> /dev/null & | |
i=`expr $i + 1` | |
if [ $i -gt 20 ]; then | |
break | |
fi |
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 ( | |
"fmt" | |
"golang.org/x/sync/errgroup" | |
) | |
func main() { | |
fmt.Println("vim-go") |
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
class Creature(): | |
def __init__(self): | |
self.level = 2 | |
def status(self): | |
return self.level | |
class Warrior(Creature): |
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
#!bin/sh | |
cat $(ls | peco) |
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
version: '2' | |
services: | |
app: | |
container_name: phpmyadmin | |
image: phpmyadmin/phpmyadmin | |
environment: | |
- PMA_HOST= | |
- PMA_ARBITRARY=1 | |
- PMA_USER=root | |
- PMA_PASSWORD= |
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
#!/bin/sh | |
WEBHOOKURL="" | |
CHANNEL="" | |
BOTNAME="" | |
FACEICON="" | |
WEBMESSAGE=`docker run --rm wpscanteam/wpscan -u $1` | |
WEBMESSAGE=`echo "${WEBMESSAGE}" | sed '1,14d'` | |
echo "${WEBMESSAGE}" |
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
#!/bin/sh | |
DATE=`date "+%Y%m%d"` | |
INFECTED=`grep Infected /var/log/clamav/scan${DATE}.log` | |
INFECTED_NUMBARE=${INFECTED: -1} | |
echo $INFECTED_NUMBARE | |
if [ $INFECTED_NUMBARE != 0 ]; then | |
WEBHOOKURL="hoge" | |
CHANNEL="hoge" | |
BOTNAME="hoge" | |
FACEICON="hoge" |
~/Dropbox/TextExpander/Settings.textexpander
or
~/Library/Application\ Support/TextExpander/Settings.textexpander
add
<key>forcePasteBundleIDs</key>
<array><string>org.vim.MacVim</string></array>
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
export function isLogin() { | |
return async (dispatch) => { | |
try { | |
const user = await User.get('user'); | |
dispatch({ | |
type: actionTypes.LOADED, | |
isLoading: false, | |
isLogin: true, | |
user, | |
}); |
NewerOlder