-
Def : Variable that stores address of other variables
p //address*p // value at address -
Code
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
| echo "Choco" | |
| @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
| choco install python | |
| choco install cmder |
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
| sudo apt-get update | |
| sudo apt-get -y upgrade | |
| sudo apt-get install -y ubuntu-restricted-extras | |
| sudo apt-get install -y curl | |
| sudo apt-get install -y openjdk-8-jdk | |
| curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - | |
| sudo apt-get install -y nodejs | |
| sudo apt-get install -y git vlc build-essential vim | |
| sudo apt-get install -y redshift redshift-gtk dconf-editor | |
| gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true |
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
| ARDUINO_DIR = /usr/share/arduino | |
| ARDUINO_PORT = /dev/ttyACM* | |
| USER_LIB_PATH = /home/pi/sketchbook/libraries | |
| BOARD_TAG = uno | |
| include /usr/share/arduino/Arduino.mk |
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
| body { | |
| background-color: gray; | |
| text-align: center; | |
| color: white; | |
| font-family: Courier New, Courier, monospace; | |
| /* font-size: 25px; */ | |
| } | |
| a { | |
| font-size: 2em; |
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
| private void updateRowHeights() | |
| { | |
| for (int row = 0; row < table.getRowCount(); row++) | |
| { | |
| int rowHeight = table.getRowHeight(); | |
| for (int column = 0; column < table.getColumnCount(); column++) | |
| { | |
| Component comp = table.prepareRenderer(table.getCellRenderer(row, column), row, column); | |
| rowHeight = Math.max(rowHeight, comp.getPreferredSize().height); |
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/bash | |
| # Usage: | |
| # ./curl-multi-url.sh -d OUTPUT_DIRECTORY -u USER_AGENT http://url-1/ http://url-2/; | |
| # Arguments -d and -u are optional | |
| # | |
| # | |
| # Defaults 990=990MB max size limit of one part | |
| fsize_limit=$((990*1024*1024)) |
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
| [Unit] | |
| Description=High-performance, schema-free document-oriented database | |
| After=network.target | |
| Documentation=https://docs.mongodb.org/manual | |
| [Service] | |
| User=mongodb | |
| Group=mongodb | |
| ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf |
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
| sudo apt-get update | |
| sudo apt-get upgrade |