<details>
<summary>Click me</summary>
### Heading
1. Foo
2. Bar
* Baz
* Qux
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
// create a function call that looks like | |
// "myfunc(someVar, 'bar')" | |
const callExpr = j.callExpression(j.identifier("myFunc"), [ | |
j.indentifier("someVar"), | |
j.literal("bar"), | |
]); |
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
;;; Usage: /path/to/emacs -nw -Q -l /path/to/test-magit-stage-minimal.el --eval '(load-magit "/path/to/magit/lisp")' | |
;;; Created: 2020-03-04 03.05.24 | |
;;; Updated: 2020-03-04 21.17.19 | |
;;; Version: 2 | |
(toggle-debug-on-error) | |
;; ------------------------------------------------------------------ | |
;; elpa |
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
(require 'recentf) | |
;; Implement functionality similar to uniquify to make recentf results bearable | |
;; Requires s.el and dash.el - awesome libraries from Magnar Sveen | |
;; Hat-tip : Baishampayan Ghose for the clojure implementation at | |
;; https://gist.github.com/ghoseb/8432086 | |
(require 's) | |
(require 'dash) | |
This file has been truncated, but you can view the full file.
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
{ | |
"1133": { | |
"url": "http://crackmes.cf/users/.nalet./nalets_crackme_no1/download/NaLeTcrkMe.zip", | |
"description": "First off don't give me that \"cr*pware\" things.\nYes, it's written in VB + P-Code, and all you need to do is find one serial.\nOh could someone rate it?!?", | |
"difficulty": 2, | |
"platform": "Windows", | |
"language": "(Visual) Basic", | |
"published": "2005-03-08T00:00:00", | |
"downloads": 1235, | |
"votes": 0 |
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
function Set-WinStoreSetting { | |
param ( | |
[Parameter(Mandatory=$true, Position=0)][string]$PackageName, | |
[Parameter(Mandatory=$true, Position=1)][string]$SettingName, | |
[Parameter(Mandatory=$true, Position=2)][string]$SettingValue | |
) | |
$settingsFile = [IO.Path]::Combine($env:LOCALAPPDATA, 'Packages', $PackageName, 'Settings\settings.dat') | |
# temporary paths |
All you have to do, to extend your trial period, is change number in TrialKey element in application.xml. This file is located in /Library/Application Support/Adobe/Adobe Photoshop/AMT. You can navigate there with this command:
cd /Library/Application\ Support/Adobe/Adobe\ Photoshop\ */AMT
Then you have to open the file and edit it. You can use just TextEdit app.
open -a TextEdit application.xml
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
from telethon import TelegramClient | |
from telethon.errors.rpc_errors_401 import SessionPasswordNeededError | |
# (1) Use your own values here | |
api_id = 17349 | |
api_hash = '344583e45741c457fe1862106095a5eb' | |
phone = 'YOUR_NUMBER_HERE' | |
username = 'username' |
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
# We have two options: | |
# compress in .tar.gz (bigger size) or .7z (about 60% less size). | |
# .tar.gz | |
# | |
tar -czvf vivaldi-settings.tar.gz ~/.config/vivaldi/Default/ | |
# Explanation: | |
# c: create a new archive | |
# z: gzip | |
# v: verbosely list files processed | |
# f: use archive file or device ARCHIVE |
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
REM Delete eval folder with licence key and options.xml which contains a reference to it | |
for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do ( | |
for /d %%a in ("%USERPROFILE%\.%%I*") do ( | |
rd /s /q "%%a/config/eval" | |
del /q "%%a\config\options\other.xml" | |
) | |
) | |
REM Delete registry key and jetbrains folder (not sure if needet but however) | |
rmdir /s /q "%APPDATA%\JetBrains" |
OlderNewer