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 off | |
cls | |
color 02 | |
echo Welcome to StoPetya! | |
echo Please make sure you're running this script with admin rights. | |
echo Press any key to fix the petya ransomware... | |
pause >NUL | |
color 04 | |
cls | |
echo Deleting fies... |
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
%hook SBFolder | |
-(BOOL)shouldRemoveWhenEmpty { | |
return NO; | |
} | |
%end |
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
%hook SBDockView | |
-(void)setBackgroundAlpha:(double)arg1 { | |
%orig(0.0); | |
} | |
%end |
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
%hook SBDashBoardMainPageView | |
-(void)_layoutCallToActionLabel {} | |
%end |
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
import random | |
objects = ["Paper", "Scissors", "Stone", "Magma"] | |
playerScore = 0 | |
aiScore = 0 | |
magmaWasted = False | |
def whoWins(player): | |
global playerScore | |
global aiScore |
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
<html> | |
<head> | |
<title>A game</title> | |
<script> | |
var width; | |
var height; | |
function getScreenSize() { | |
width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; | |
height = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; | |
height -= 110; |
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 | |
# Get the song that is currently played and store it to a variable | |
oldsong=$(mpc current) | |
# Stays on loop while the script is active | |
while "true"; do | |
# Check if the current song is equal to the one that was playing before (oldsong) | |
if [[ "$(mpc current)" != "$oldsong" ]]; then | |
# If not equal, assign the new song to the variable to be checking again correctly | |
oldsong=$(mpc current) | |
# And send the notification |
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
var User = (function () { | |
function User (id, nam) { | |
var self = this; | |
this.id = id; | |
this.nam = nam; | |
this.__data = {}; | |
for(var p in self) { |