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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # $ benchmark.py | |
| # | |
| # Test with test_argpartition: | |
| # Results: | |
| # [[78 55 72] | |
| # [ 0 50 15] | |
| # [ 8 44 27] |
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
| #!/usr/bin/env python2 | |
| # -*- coding: utf-8 -*- | |
| ''' | |
| Find your item id (by looking at your webpage source), and query as follow: | |
| $ ./get_mem_for_item.py -i 41006508 | |
| http://www.memrise.com/mem/4321815/i-intend-to-become-a-lawyer/ | |
| $ |
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
| s=angular.element($0).scope();for(i=0;i<s.user.stats.mp/s.skill.mana;i+=1){setTimeout(function(){s.castStart(s.skill);},i*2000);} |
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
| window.confirm=function(){return true};$.each($(".pet-button"),function(){s=$(this).scope();if(!s.cp){s.cp=s.choosePet.bind({});s.choosePet=function(e,p){f=s.selectedFood.key;nb=Math.min((50-s.user.items.pets[e+"-"+p])/5,s.user.items.food[f]);for(i=0;i<nb;i+=1){s.cp(e,p);s.chooseFood(f)}}}}) |
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| $ ./sqli9_bf.py | |
| The password is 'bfmoisitupeux' | |
| """ |
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| $ ./sqli8_blind_injection.py -u http://172.28.128.3:8007/membre.php\?id\=7 -e Mickey | |
| OtherInformation: | |
| * idusers | |
| -> 7,8,9,10,11 | |
| * useyourname | |
| -> Mickey,Kenshin,Jin,Camus,Pierre | |
| * position |
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
| # def change(array_of_denominations, amount): ==> Number of ways you can make change | |
| # """ | |
| # change([1, 5], 6) => 2 | |
| # change([1, 5], 10) => 3 | |
| # """ | |
| def change(array_input, amount): | |
| if amount == 0: | |
| return 1 | |
| elif amount < 0 or len(array_input) == 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
| <!DOCTYPE html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>tixit</title> | |
| <style type="text/css" media="screen"> | |
| table, input {width: 100%} | |
| td {width: 50%} | |
| </style> | |
| </head> | |
| <body> |
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
| license: mit |
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
| license: gpl-3.0 | |
| height: 960 | |
| border: no |