- React Native
- Framework 7
- Ionic
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 Personne = function(n, f) { | |
//use var to declare private variable | |
var name = n; | |
var firstname = f; | |
//one of private methode | |
var private_cry = function() { | |
console.log(`YES I TOLD YOU!!! MY NAME IS ${name}`); | |
} |
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 | |
$a = session_id(); | |
if(empty($a) and isset($a)){session_start();} | |
//Function to check if the request is an AJAX request | |
if (is_ajax()) { | |
if (isset($_POST["operation"]) && !empty($_POST["operation"])) { //Checks if action value exists | |
$operation = $_POST["operation"]; |
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
function saveDraft() { | |
$.ajax({ | |
method: "POST", | |
url: "https://172.16.145.102/cra35dev/cra35/astreinteAjaxHandler.php", | |
dataType: "json", | |
beforeSend: function(){ | |
$('.show-result').html("Tentative de sauvegarde des entrées en cours...") | |
}(), | |
data: { | |
operation: "save", |
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
// greetings.js | |
// exports with module.exports and achieved the same result. If this seems confusing, | |
// remember that exports and module.exports reference the same object. | |
var exports = module.exports = {}; | |
exports.sayHelloInEnglish = function() { | |
return "HELLO"; | |
}; |
make sure the upstream remote is set
- 1 - git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
- 2 - git fetch upstream
- 3 - git checkout master
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
#!/bin/sh -x | |
adduser -G abuild -g "Alpine Package Builder" -s /bin/sh -D builder | |
echo "builder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers |
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 udp = require('dgram'); | |
// --------------------creating a udp server -------------------- | |
// creating a udp server | |
var server = udp.createSocket('udp4'); | |
// emits when any error occurs | |
server.on('error', function(error) { | |
console.log('Error: ' + error); |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |