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
### Pyroscope Individual Contributor License Agreement | |
Thank you for your interest in contributing to open source software projects (“Projects”) made available by Pyroscope or its affiliates (“Pyroscope”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to Pyroscope in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact [email protected]. | |
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions. | |
**Copyright License.** You hereby grant, and agree to grant, to Pyroscope a non-exclusive, |
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
# I ran cloc (https://github.com/AlDanial/cloc) on each directory of mal (https://github.com/kanaka/mal) | |
# These are the results: | |
---------------------------------------------------------------------- | |
dir-name top-language files blank comment code | |
---------------------------------------------------------------------- | |
objpascal Pascal 19 706 951 6275 | |
ada Ada 28 1984 380 5892 | |
elm Elm 19 1625 226 5682 | |
swift Swift 20 980 1519 5636 |
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
$ cloc . | |
1821 text files. | |
1765 unique files. | |
470 files ignored. | |
github.com/AlDanial/cloc v 1.74 T=15.81 s (85.8 files/s, 12774.4 lines/s) | |
-------------------------------------------------------------------------------- | |
Language files blank comment code | |
-------------------------------------------------------------------------------- | |
Visual Basic 38 1573 132 8103 |
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
// Photoshop Script to Create iPhone Icons from iTunesArtwork | |
// | |
// WARNING!!! In the rare case that there are name collisions, this script will | |
// overwrite (delete perminently) files in the same folder in which the selected | |
// iTunesArtwork file is located. Therefore, to be safe, before running the | |
// script, it's best to make sure the selected iTuensArtwork file is the only | |
// file in its containing folder. | |
// | |
// Copyright (c) 2010 Matt Di Pasquale | |
// Added tweaks Copyright (c) 2012 by Josh Jones http://www.appsbynight.com |
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
#!/usr/bin/env ruby | |
require 'aws' | |
if ARGV.length < 5 | |
print <<-EOF | |
Usage: mfa-delete.rb <bucket_name> <aws_id> <aws_secret> <mfa_serial> <mfa_token> <s3_endpoint> | |
<s3_endpoint> is optional | |
EOF | |
exit | |
end |
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
#!/bin/bash | |
USER=root #mysql credentials | |
PASSWORD=*** | |
BACKUP=/root/backups #temporary storage | |
CLOUD=/mnt/yandex.disk/backups | |
OLD=10 | |
PREFIX=dfilimonov.com | |
DATE=`date '+%Y-%m-%d'` |
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
#!/usr/local/bin/ruby | |
require 'net/http' | |
require 'sys/filesystem' # gem install sys-filesystem | |
api_id="api_id from sms.ru" # get one on sms.ru | |
phone_number="79111234567" # your phone number | |
stat = Sys::Filesystem.stat("/") | |
space = (stat.blocks_available.to_f / stat.blocks * 100).round |