System directories
Method | Result |
---|---|
Environment.getDataDirectory() | /data |
Environment.getDownloadCacheDirectory() | /cache |
Environment.getRootDirectory() | /system |
External storage directories
trainers.php?id= | |
play_old.php?id= | |
declaration_more.php?decl_id= | |
Pageid= | |
games.php?id= | |
newsDetail.php?id= | |
staff_id= | |
historialeer.php?num= | |
product-item.php?id= | |
news_view.php?id= |
var mediaJSON = { "categories" : [ { "name" : "Movies", | |
"videos" : [ | |
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
"subtitle" : "By Blender Foundation", | |
"thumb" : "images/BigBuckBunny.jpg", | |
"title" : "Big Buck Bunny" | |
}, | |
{ "description" : "The first Blender Open Movie from 2006", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
#include <stdio.h> | |
#include <windows.h> | |
#include <gdiplus.h> | |
#include <time.h> | |
int GetEncoderClsid(const WCHAR* format, CLSID* pClsid) { | |
using namespace Gdiplus; | |
UINT num = 0; | |
UINT size = 0; |
System directories
Method | Result |
---|---|
Environment.getDataDirectory() | /data |
Environment.getDownloadCacheDirectory() | /cache |
Environment.getRootDirectory() | /system |
External storage directories
// Interpolate between 2 colors in C# | |
// Taken from answer by user Jason | |
// http://stackoverflow.com/questions/1236683/color-interpolation-between-3-colors-in-net | |
class ColorInterpolator { | |
delegate byte ComponentSelector(Color color); | |
static ComponentSelector _redSelector = color => color.R; | |
static ComponentSelector _greenSelector = color => color.G; | |
static ComponentSelector _blueSelector = color => color.B; | |
public static Color InterpolateBetween( |
#Author: Sobhan Hota | |
#Finds most frequent 500 words in a given file | |
from string import punctuation | |
from operator import itemgetter | |
N = 500 | |
words = {} | |
words_gen = (word.strip(punctuation).lower() for line in open("C:\Python27\Corpus.txt") |
#include <iostream> | |
#include <windows.h> | |
#include <gdiplus.h> | |
#include <memory> | |
using namespace Gdiplus; | |
using namespace std; | |
int GetEncoderClsid(const WCHAR* format, CLSID* pClsid) | |
{ |
<?php | |
/** | |
* Regular expression to validate different types of phone numbers | |
*/ | |
// simple pattern | |
$pattern = '/^[0-9\-\(\)\/\+\s]*$/'; | |
// example phone numbers | |
$phoneNumbers = ' |
#region Using | |
using System; | |
using System.Security.Cryptography; | |
using System.Text; | |
#endregion | |
namespace YourApp.Security.Cryptography | |
{ |