I hereby claim:
- I am gsamat on github.
- I am samat (https://keybase.io/samat) on keybase.
- I have a public key whose fingerprint is 7A02 13AE B4A7 C671 9490 0978 D074 5471 F28C D69D
To claim this, I am signing this object:
#!/bin/sh | |
# start it with "caffeinate ./enable-internet.sh", if you want to prevent your Macbook from sleeping | |
# do not forget "chmod +x ./enable-internet.sh" | |
# put your username and password below | |
username= | |
password= | |
count=1 | |
while true | |
do | |
#curl --trace-ascii - -d 'redirurl=%24PORTAL_REDIRURL%24&auth_user=$username&auth_pass=$password&accept=Login+%3E%3E' https://mwcp-spg-01a.adlkerala.com:8003/index.php |
#!/bin/sh | |
# 0. create a channel you want to import to | |
# 1. first you get token and channel_id from slack's API page | |
# 2. then you run the script | |
# 3. while it is running, you export your team data, delete everything except one channels.json, users.json and one dir for you channel | |
# 4. then manually (sorry guys) craft json and put it into channel dir | |
# 5. make zip and upload it to import | |
# 6. profit | |
token= | |
channel_id= |
conn = new Mongo(); | |
db = conn.getDB("publisher_bookmate"); | |
db.getMongo().setSlaveOk(); | |
var mapFunction1 = function() { | |
emit(this.read_at, this.size); | |
}; | |
var reduceFunction1 = function(keyCustId, readcount) { | |
return Array.sum(readcount); | |
}; | |
res= db.getCollection("stats.reading_hourlies").mapReduce( |
Правда, я слышал об одном митьке, который затрачивал сравнительно долгое время на приготовление пищи, зато он делал это впрок, на месяц вперед. Этот митёк покупал 3 кг зельца (копеек за 30 за кг), 4 буханки хлеба, две пачки маргарина для сытности, тщательно перемешивал эти продукты в тазу, варил и закатывал в десятилитровую бутыль. Таким образом, питание на месяц обходилось ему примерно в 3 рубля плюс большая экономия времени. |
echo "`{du -s /mnt/z2911kj6/pg&&sleep 10&&du -s /mnt/z2911kj6/pg}|awk 'NR==1 {a=$1;}; NR==2 {print $1-a};'`*512/1024/1024" | bc |
Application -> Build Phases -> Link Binary with Libraries -> Add QTKit.framework | |
add header to AppDelegate.h | |
#import <QTKit/QTKit.h> | |
# in AppDelegate.h | |
@property (strong) QTMovie *movie; | |
I hereby claim:
To claim this, I am signing this object:
egrep -o 'https://www.facebook.com/profile.php\?id=[0-9]*' page.html | sort -u > numbers.txt | |
egrep -o 'https://www.facebook.com/[a-z\._]*\?fref' page.html | sort -u > logins.txt |
<!DOCTYPE html> | |
<html prefix="og: http://ogp.me/ns#" lang="ru"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>DEV: проверочка 2: подзаголовок — Meduza</title> | |
<link rel="manifest" href="/manifest.json"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui"> | |
<script> |
curl "https://api.vk.com/method/likes.getList?type=sitepage&owner_id=4575679&page_url=https:%2F%2Fmeduza.io%2Fcards%2Fkak-spastis-ot-vygoraniya-na-rabote&count=1" | |
HTTP/1.1 200 OK | |
Server: Apache | |
Date: Wed, 19 Apr 2017 09:42:30 GMT | |
Content-Type: application/json; charset=utf-8 | |
Content-Length: 406 | |
Connection: close | |
X-Powered-By: PHP/3.12542 | |
Set-Cookie: remixlang=3; expires=Sat, 14 Apr 2018 16:43:45 GMT; path=/; domain=.vk.com |