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
"test_magic_orb_cast" | |
{ | |
// General | |
//------------------------------------------------------------------------------------------------------------- | |
"BaseClass" "ability_datadriven" | |
"AbilityBehavior" "DOTA_ABILITY_BEHAVIOR_POINT" | |
"AbilityTextureName" "dark_seer_wall_of_replica" | |
"AbilityCooldown" "2.0" | |
"AbilityCastPoint" "0.0 0.0 0.0 0.0" |
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
function printTable(list, i) | |
local listString = '' | |
--~ begin of the list so write the { | |
if not i then | |
listString = listString .. '{' | |
end | |
i = i or 1 | |
local element = list[i] |
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
--[[ | |
Use like this: | |
1. Create scalingdamage.lua in scripts/vscripts, copy the content of this file in | |
2. require('scalingdamage') on top of your addon_game_mode.lua file | |
3. In KV files, use like this: | |
"RunScript" | |
{ | |
"ScriptFile" "scripts/vscripts/scalingdamage.lua" | |
"Function" "DealScalingDamage" |
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
--[[ | |
Use like this: | |
1. Create scalingdamage.lua in scripts/vscripts, copy the content of this file in | |
2. require('scalingdamage') on top of your addon_game_mode.lua file | |
3. In KV files, use like this: | |
"RunScript" | |
{ | |
"ScriptFile" "scripts/vscripts/scalingdamage.lua" | |
"Function" "DealScalingDamage" |
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
import struct | |
global file | |
import fbx | |
import sys | |
import math | |
import FbxCommon | |
import functools | |
import itertools | |
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
import struct | |
global file | |
#import fbx | |
import sys | |
import math | |
#import FbxCommon | |
import functools | |
import itertools | |
import numpy as np | |
import bpy, mathutils |
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
javascript:document.querySelector("div.c-article-text").innerHTML = JSON.parse(document.querySelector('script[type="application/ld+json"]').innerText).articleBody;alert(); | |
document.querySelector("div.c-article-text").innerHTML = JSON.parse(document.querySelector('script[type="application/ld+json"]').innerText).articleBody; |
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
λ wget -r -H -nc -np -nH --cut-dirs=3 -A .cbr -e robots=off -l1 -i ./itemlist.txt -B "http://archive.org/download/" |
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
#$t = '[DllImport("user32.dll")] public static extern bool ShowWindow(int handle, int state);' | |
#add-type -name win -member $t -namespace native | |
#[native.win]::ShowWindow(([System.Diagnostics.Process]::GetCurrentProcess() | Get-Process).MainWindowHandle, 0) | |
function Out-Minidump | |
{ | |
<# | |
.SYNOPSIS |
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
<?XML version="1.0"?> | |
<script language="JScript"> | |
<![CDATA[ | |
var r = new ActiveXObject("WScript.Shell").Run("calc.exe"); | |
]]> | |
</script> |
OlderNewer