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 { | |
graphql, | |
GraphQLSchema, | |
GraphQLObjectType, | |
GraphQLString | |
} from 'graphql'; | |
var schema = new GraphQLSchema({ | |
query: new GraphQLObjectType({ | |
name: 'RootQueryType', |
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
1.Show the files in the folder : | |
ls /var/db/dslocal/nodes/Default/mounts | |
2.Delete what you want : | |
rm /var/db/dslocal/nodes/Default/mounts/<myfile>.plist | |
3.Reboot |
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
$email = '=?UTF-8?B?' . base64_encode($sender) . '?='." <".$email.">"; |
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
$$('.myClass').each(function(oElement){ | |
if(oElement.getValue() == 'value'){ | |
//Do something | |
}else{ | |
//Leave the loop | |
throw $break; | |
} | |
}); |
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
$$('#mytable input[name^="bootyCheck"]').invoke('setValue', true); |
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
[].forEach.call(document.querySelectorAll(" input[type='checkbox']"), function(el) { el.checked = false; }); |
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
[].forEach.call(document.querySelectorAll(" input[type='checkbox']"), function(el) { el.checked = false; }); |
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
<?php | |
ignore_user_abort(); | |
function copyFileUrl($sFichier_url){ | |
$sUrl = @fopen($sFichier_url, "rb"); | |
if($sUrl != 0){ | |
$sLocal = fopen($_SERVER['DOCUMENT_ROOT'].'/images/periods/tickets/159/293/conditions.jpg', "wb"); | |
while(!feof($sUrl)){ | |
$paquet = fread($sUrl, 65536); |