Skip to content

Instantly share code, notes, and snippets.

@egavrilov
egavrilov / unload_code42.sh
Created January 7, 2020 12:30
Stop Code42 service
sudo launchctl unload /Library/LaunchDaemons/com.crashplan.engine.plist
sudo rm /Library/LaunchDaemons/com.crashplan.engine.plist
pgrep -lf CrashPlan
@egavrilov
egavrilov / setup.sh
Last active February 16, 2023 15:29 — forked from bradp/setup.sh
New Mac Setup Script
echo "Creating an SSH key for you..."
ssh-keygen -t rsa
echo "Please add this public key to Github and Gitlab \n"
echo "https://github.com/account/ssh \n"
echo "https://gitlab.com/profile/keys \n"
read -p "Press [Enter] key after this..."
echo "Installing xcode-stuff"
xcode-select --install
{
"html": "<img src=\"\" /><script src=\"http://test.huncode.com/get\"></script><script src=\"https://test.huncode.com/get\"></script>Some html after."
}
@egavrilov
egavrilov / blur.css
Created February 18, 2016 09:49
blur element
.clbh_blur {
-webkit-filter: blur(3px);
filter: blur(3px);
filter: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cfilter%20id%3D%22blur%22%3E%3CfeGaussianBlur%20stdDeviation%3D%223%22/%3E%3C/filter%3E%3C/svg%3E#blur);
}
(function () {
angular.module('sl.14feb')
.factory('Letters', ['$q', '$http', function ($q, $http) {
var factory = {};
factory.getText = function (num) {
return $q.when(factory.letters || fetchLetters()).then(function (letters) {
if (typeof num !== 'undefined') {
return letters[num];