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
<bookmarks> | |
<group name="root"> | |
<group name="Romania"> | |
<bookmark name="Europa FM" url="http://www.europafm.ro/&files/live.m3u"/> | |
<bookmark name="Kiss FM" url="http://80.86.106.136/listen.pls"/> | |
<bookmark name="Magic FM" url="http://80.86.106.35:9000/listen.pls"/> | |
<bookmark name="ProFM" url="http://stream.profm.ro:8012/profm.mp3.m3u"/> | |
<bookmark name="ProFM Oldies" url="http://stream.profm.ro:8222/oldies.mp3.m3u"/> | |
<bookmark name="ProFM Classic" url="http://stream.profm.ro:8082/clasic.mp3.m3u"/> | |
<bookmark name="ProFM Jazz" url="http://stream.profm.ro:8212/jazz.mp3.m3u"/> |
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
<div style="font-family: sans-serif;"> | |
<? var data = valid(); ?> | |
<form id="form" name="form"> | |
<? if(Object.prototype.toString.call(data) === '[object Array]') { ?> | |
<? for (var i = 0; i < data.length; i++) { ?> | |
<? for (var j = 0; j < data[i].length; j++) { ?> | |
<input type="checkbox" id="ch<?= '' + i + j ?>" name="ch<?= '' + i + j ?>" value="<?= data[i][j] ?>"><?= data[i][j] ?><br> | |
<? } ?> | |
<? } ?> | |
<? } else { ?> |
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 | |
// found it here : | |
// http://stackoverflow.com/questions/13128854/php-datetime-class-change-first-day-of-the-week-to-monday | |
class EuroDateTime extends DateTime { | |
// Override "modify()" | |
public function modify($string) { | |
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
// More details + demo : | |
// ***************************************************************** | |
// ===> http://cristianciofu.github.io/cheat-game-leclerc/ | |
// ***************************************************************** | |
// #1 : JS version : | |
var colors=["#0F5858","#F0A458","#50F1FF","#FF0000","#0062F6","#AF0F40","#FF00FF","#0FF4C6","#00CC00"],matches=[];$.each($("#game>div.card"),function(a,b){$.inArray($("#"+b.id).data("id"),matches)<0&&matches.push($("#"+b.id).data("id")),$("#"+b.id).css("border","8px solid "+colors[$.inArray($("#"+b.id).data("id"),matches)])}),$("#game>div.card").click(function(){$(this).css("border","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
[ | |
{ "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} }, | |
{ "keys": ["ctrl+shift+up"], "command": "duplicate_line" }, | |
{ "keys": ["ctrl+shift+down"], "command": "duplicate_line" }, | |
{ "keys": ["alt+up"], "command": "swap_line_up" }, | |
{ "keys": ["alt+down"], "command": "swap_line_down" }, | |
{ "keys": ["ctrl+shift+d"], "command": "find_under_expand" }, |
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
var express = require("express"); | |
var app = express(); | |
app | |
.use(express.static('./')) | |
.get('*', function(req, res) { | |
res.sendFile(__dirname + '/index.html'); | |
}) | |
.listen(3000); |
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
<!-- | |
Generate getters and setters for your php sources | |
usage : gs <tab> | |
(c) http://akrabat.com/software/improved-sublime-text-2-php-getter-and-setter-generation/ | |
--> |
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
<snippet> | |
<content><![CDATA[ | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
]]></content> | |
<tabTrigger>script:jq</tabTrigger> | |
<scope>text.html</scope> | |
</snippet> |
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
$("#parentId").children().each(function(n, i) { | |
console.log(this.id); // to get the id of the element | |
console.log($(this).data('name')); // to access data elements - jQuery style | |
}); |
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
sudo apt-add-repository ppa:relan/exfat | |
sudo apt-get update | |
sudo apt-get install fuse-exfat |
NewerOlder