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
// ==UserScript== | |
// @name TMD Watcher Spy | |
// @namespace http://your.homepage/ | |
// @version 0.1 | |
// @description highlights topics in red where you wrote something and where is more than one reply after yours | |
// @author Luca Andrei | |
// @include http*://torrentsmd.*/watcher.php | |
// @include http*://torrentsmd.*/forum.php?action=viewtopic&topicid=* | |
// @include http*://*.torrentsmd.*/watcher.php | |
// @include http*://*.torrentsmd.*/forum.php?action=viewtopic&topicid=* |
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
#include <iostream> | |
int main() { | |
int dimensiuneMasiv; | |
int *masiv; | |
float mediaAritmetica; | |
int numarulElementelorDivizibile = 0; | |
int sumaElementelorDivizibile = 0; | |
int divizor = 3; |
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
#include <iostream> | |
#include <cmath> | |
int main() { | |
int dimensiuneMasiv; | |
int *masiv; | |
int suma = 0; | |
std::cout << "Dati numarul de elemente in masiv: "; |
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
% ------------------------------------------------------------------------------ | |
% Generic Expert System interface | |
% ------------------------------------------------------------------------------ | |
% Dynamic fact | |
% -------------------------------------- | |
:- dynamic(known/3). | |
% -------------------------------------- | |
% Start system | |
% -------------------------------------- | |
solve :- |
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
#include <iostream> | |
#define PI 3.14 | |
struct Punct | |
{ | |
float x; | |
float y; | |
}; | |
int main(int argc, char const *argv[]) |
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
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <algorithm> | |
#include <bitset> | |
using namespace std; | |
/** | |
* Auto-generated code below aims at helping you parse |
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
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <algorithm> | |
#include <bitset> | |
using namespace std; | |
/** | |
* Auto-generated code below aims at helping you parse |
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
<?php | |
/** | |
* categories | |
* | |
* \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\Category> | |
* @lazy | |
*/ | |
protected $categories; | |
/** | |
* MyModel constructor. |
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
<?php | |
class MyController extends ActionController | |
{ | |
// ... | |
/** | |
* @var \TYPO3\CMS\Extbase\Mvc\View\JsonView | |
*/ | |
protected $view; |
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: void((function() { | |
/* More bookmarklets at https://gist.github.com/iamandrewluca/61feacf07bc4f2f50e70f986c2e9b2d2 */ | |
const upAlpha = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; | |
const lowAlpha = 'abcdefghijklmnopqrstuvwxyz'; | |
const digits = '0123456789'; | |
const specialChars = '!@#$.+'; | |
const defaultSettings = confirm('Default settings'); | |
const includeUpAlpha = defaultSettings ? true : confirm('Include: ' + upAlpha + ' ?'); | |
const includeLowAlpha = defaultSettings ? true : confirm('Include: ' + lowAlpha + ' ?'); |