Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Pascal Jean Pierre Lucien Richet PascalR2014

I may be slow to respond.
Block or report user

Report or block PascalR2014

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
PascalR2014 / Hiding status and nav bar with java.txt
Created Mar 29, 2017
Second Snippet for hiding status bar and nav bar
View Hiding status and nav bar with java.txt
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;
import android.widget.TextView;
PascalR2014 / java.xml
Created Mar 22, 2017
Hiding status bar and nav bar to Android ...
View java.xml
import android.content.Context;
import android.os.Handler;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.View;
import android.view.ViewGroup;
PascalR2014 / Jeu Pierre-Feuile-ciseaux.js
Created Dec 25, 2015
Games in javascript, for correction please !
View Jeu Pierre-Feuile-ciseaux.js
var choixUtilisateur = prompt("Choisissez-vous pierre, feuille, ou ciseaux ?");
var choixOrdi = Math.random();
if (choixOrdi < 0.34) {
choixOrdi = "pierre";
} else if(choixOrdi <= 0.67) {
choixOrdi = "feuille";
} else {
choixOrdi = "ciseaux";
console.log("Ordinateur : " + choixOrdi);
You can’t perform that action at this time.