converts git remote from https to ssh using sed
wget https://bit.ly/https_ssh_manoo -O- | bash
- Downlaod
import java.awt.Color; | |
import java.util.ArrayList; | |
/** | |
* Java Code to get a color name from rgb/hex value/awt color | |
* | |
* The part of looking up a color name from the rgb values is edited from | |
* https://gist.github.com/nightlark/6482130#file-gistfile1-java (that has some errors) by Ryan Mast (nightlark) | |
* | |
* @author Xiaoxiao Li |
#!/bin/bash | |
# System-wide crontab file and cron job directory. Change these for your system. | |
CRONTAB='/etc/crontab' | |
ANACRONTAB='/etc/anacrontab' | |
CRONDIR='/etc/cron.d' | |
# Single tab character. Annoyingly necessary. | |
tab=$(echo -en "\t") |
First of all you need to open terminal and install Tor:
sudo apt-get install tor
Then check that the tor is install successfully or not by:
service tor status
If the server was not run then run by:
service tor start
After runing tor you can see the log of the tor by
function New-IsoFile | |
{ | |
[CmdletBinding(DefaultParameterSetName='Source')]Param( | |
[parameter(Position=1,Mandatory=$true,ValueFromPipeline=$true, ParameterSetName='Source')]$Source, | |
[parameter(Position=2)][string]$Path = "$env:temp\$((Get-Date).ToString('yyyyMMdd-HHmmss.ffff')).iso", | |
[ValidateScript({Test-Path -LiteralPath $_ -PathType Leaf})][string]$BootFile = $null, | |
[ValidateSet('CDR','CDRW','DVDRAM','DVDPLUSR','DVDPLUSRW','DVDPLUSR_DUALLAYER','DVDDASHR','DVDDASHRW','DVDDASHR_DUALLAYER','DISK','DVDPLUSRW_DUALLAYER','BDR','BDRE')][string] $Media = 'DVDPLUSRW_DUALLAYER', | |
[string]$Title = (Get-Date).ToString("yyyyMMdd-HHmmss.ffff"), | |
[switch]$Force, | |
[parameter(ParameterSetName='Clipboard')][switch]$FromClipboard |
#!/usr/bin/env bash | |
if systemctl list-units | grep -q -E 'snapd.service.*running'; then | |
sudo systemctl stop snapd.service > /dev/null 2>&1 | |
sudo systemctl disable snapd.service > /dev/null 2>&1 | |
sudo systemctl mask snapd.service > /dev/null 2>&1 | |
sudo rm -rf /etc/xdg/autostart/snap-userd-autostart.desktop | |
echo | |
tput setaf 1; echo "snapd stopped successfully" |
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
//CSS | |
{"dependencies_cache": {"https://packagecontrol.io/repository.json": [{"releases": [{"url": "https://bitbucket.org/teddy_beer_maniac/sublime-text-dependency-jinja2/get/2.8.0.zip", "platforms": ["*"], "version": "2.8.0", "sublime_text": "*"}], "load_order": "51", "issues": "https://bitbucket.org/teddy_beer_maniac/sublime-text-dependency-jinja2/issues", "description": "Python Jinja2 module", "authors": ["teddy_beer_maniac"], "name": "python-jinja2"}, {"releases": [{"url": "https://codeload.github.com/idleberg/sublime-xmltodict/zip/0.10.2", "platforms": ["*"], "version": "0.10.2", "sublime_text": "*"}], "load_order": "50", "issues": "https://github.com/idleberg/sublime-xmltodict/issues", "description": "Makes working with XML feel like you are working with JSON - https://github.com/martinblech/xmltodict", "authors": ["idleberg"], "name": "xmltodict"}, {"releases": [{"url": "https://codeload.github.com/randy3k/sublime-xdotool/zip/v3.20160714.1", "platforms": ["linux"], "version": "3.20160714.1", "sublime_text": " |