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
######################## | |
# Block windows update | |
######################## | |
127.0.0.1 *.update.microsoft.com | |
127.0.0.1 *.windowsupdate.com | |
127.0.0.1 *.windows.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
"redeemPoints": { | |
"addEmailMessage": "To redeem for a digital gift card, please add an email address to your account and allow 24 hours for security; then come back and redeem.", | |
"amountRequired": "Amount Required", | |
"budgetExceeded": "You do not have enough points to make this purchase.", | |
"buyMorePoints": "Buy More Points", | |
"categories": "Categories", | |
"confirmMemberInfo": "Confirm Your Member Info:", | |
"confirmationTitle": "Redemption Confirmation", | |
"digitalGiftCardAvailable": "Digital gift card available!", | |
"digitalGiftCardLimitNotification": "You can only make 1 gift card transaction (digital or plastic) every 48 hours.", |
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
package calendarview; | |
import java.time.DayOfWeek; | |
import java.time.Duration; | |
import java.time.LocalDate; | |
import java.time.LocalDateTime; | |
import java.time.LocalTime; | |
import java.time.format.DateTimeFormatter; | |
import java.util.ArrayList; | |
import java.util.List; |
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
$ qutebrowser | |
[0425/100426.571255:WARNING:stack_trace_posix.cc(648)] Failed to open file: /home/awsp/#2114711 (deleted) | |
Error: No such file or directory | |
10:04:26 INFO: Run :adblock-update to get adblock lists. | |
python3: /usr/include/libsync.h:125: sync_accumulate: Assertion `fd2 >= 0' failed. | |
Received signal 6 | |
#0 0x7fb618b56e76 <unknown> | |
#1 0x7fb6177d488c <unknown> | |
#2 0x7fb618b571ec <unknown> | |
#3 0x7fb62eacbdd0 <unknown> |
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
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false |
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
'THIS IS A TEST'.toLowerCase().split(' ').map(function (value, key) { return value.charAt(0).toUpperCase() + value.slice(1); }).join(' '); | |
// print 'This Is A Test' |
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
var http = require('http'), | |
fileSystem = require('fs'), | |
path = require('path') | |
util = require('util'); | |
http.createServer(function(request, response) { | |
var filePath = 'path_to_file.mp3'; | |
var stat = fileSystem.statSync(filePath); | |
response.writeHead(200, { |
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
sudo apt update | |
sudo apt install virtualbox-guest-dkms | |
sudo adduser [your-user] vboxsf | |
[re-login] |
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
* Smartphones (portrait and landscape) ----------- */ | |
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) { | |
/* Styles */ | |
} | |
/* Smartphones (landscape) ----------- */ | |
@media only screen and (min-width : 321px) { | |
/* Styles */ | |
} |
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
robocopy "c:\test" "c:\target\tmp" /s | |
cd c:\target | |
ren "tmp" "backup - %date:/=-% %time::=-%" |
NewerOlder