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
# 1- open terminal and go to the path of your .vdi you want to modify and do | |
VboxManage modifymedium <name of your .vdi --resize 80000 | |
# 80000 equals 80 | |
# 2- launch your Virtual Machine. | |
# 3 -launch DiskPart on your Windows computer. In DiskPart terminal do : | |
# list volume | |
list volume |
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
package model; | |
import android.content.Context; | |
import android.database.sqlite.SQLiteDatabase; | |
import android.database.sqlite.SQLiteDatabase.CursorFactory; | |
import android.database.sqlite.SQLiteOpenHelper; | |
/** | |
* Create by sarahb | |
* Create SQL table : |
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
using System; | |
using System.Timers; | |
namespace CallFunction | |
{ | |
public class Program | |
{ | |
public Program() | |
{ |
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
// you're not force to use an array. | |
var country = ["Finlande", "Fidji", "France", "Espagne", "Equateur", "Etipie", "Estuanie", "Albania","Algeria","Andorra","Angola","Antigua","Armenia", "France", "Bali"] | |
// search match | |
function searchCountry(input) { | |
var reg = new RegExp(input.split('').join('\\w*').replace(/\W/, ""), 'i'); | |
return country.filter(function(nameOfCountry) { | |
if (nameOfCountry.match(reg)) { | |
return nameOfCountry; | |
} |
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
cls | |
@ECHO OFF | |
title Folder Private | |
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK | |
if NOT EXIST Private goto MDLOCKER | |
:CONFIRM | |
echo Etes vous sur de vouloir bloquer les fichiers Y=Oui N=Non(Y/N) | |
set/p "cho=>" | |
if %cho%==Y goto LOCK | |
if %cho%==y goto LOCK |
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
# ==================================================== | |
# NAME : deploy-website-iis.ps1 | |
# AUTHOR : Bourgeois Sarah | |
# Date : à5/10/2017 | |
# VERSION 1.0.0 | |
# COMMENTS : Automatically deploy dotnet website on IIS | |
# ====================================================== | |
$WEBSITE_PATH = '<your visual studio solution web site path here' | |
$BUILD_WEBSITE = '<path msbuild>/msbuild.exe <path .csproj file of your website>/yourfile.csproj /T:Package /P:Configuration=Release' |
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
*.swp | |
*.*~ | |
project.lock.json | |
.DS_Store | |
*.pyc | |
nupkg/ | |
# Visual Studio Code | |
.vscode |
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
# Byte-compiled / optimized / DLL files | |
__pycache__/ | |
*.py[cod] | |
*$py.class | |
# C extensions | |
*.so | |
# Distribution / packaging | |
.Python |