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
| export const check = { | |
| // Primitives | |
| boolean(value) { | |
| return typeof value === "boolean"; | |
| }, | |
| number(value) { | |
| return typeof value === "number" && !isNaN(value); | |
| }, | |
| biginit(value) { |
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
| using Sirenix.OdinInspector; | |
| using Unity.Cinemachine; | |
| using UnityEngine; | |
| using static Unity.Cinemachine.CinemachineCore; | |
| namespace Assets | |
| { | |
| /// <summary> | |
| /// Cinemachine extension that locks the camera position along the X and Y axes. | |
| /// </summary> |
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
| #include<stdio.h> | |
| main() | |
| { | |
| printf("================================\n"); | |
| printf("Surface et périmètre d'un rectangle:\n"); | |
| printf("================================\n"); | |
| float l,L,S,P; | |
| printf("Entrez la largeur : "); | |
| scanf("%f",&l); | |
| printf("Entrez la longueur : "); |
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
| #include<stdio.h> | |
| main() | |
| { | |
| printf("Calcul des salaires brut et net d’un employé:\n"); | |
| float Sal_brt,Sal_net, Sal_hrs_brt,Nbr_hrs, charge; | |
| float taux_impo=0.25; | |
| printf("Entrez le nombre d'heures de travail par mois: "); | |
| scanf("%f",&Nbr_hrs); | |
| printf("Entrez le salaire horaire brut (en DH): "); | |
| scanf("%f",&Sal_hrs_brt); |
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
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Reflection; | |
| using UnityEditor; | |
| using UnityEngine; | |
| using UnityEngine.Rendering.Universal; | |
| [RequireComponent(typeof(CompositeCollider2D))] | |
| public class ShadowCaster2DGenerator : MonoBehaviour | |
| { |
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
| class Client | |
| { | |
| // Attributs | |
| private string cin, nom, prénom; | |
| private int téléphone; | |
| // Accesseurs | |
| public int Téléphone | |
| { | |
| get { return téléphone; } |
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
| ;= @echo off | |
| ;= rem Call DOSKEY and use this file as the macrofile | |
| ;= %SystemRoot%\system32\doskey /listsize=1000 /macrofile=%0% | |
| ;= rem In batch mode, jump to the end of the file | |
| ;= goto:eof | |
| ;= Add aliases below here | |
| ;= [Default] | |
| e.=explorer . | |
| gl=git log --oneline --all --graph --decorate $* |
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
| # Open PowerShell with Admin rights | |
| Get-Acl -Path 'C:\Some\Path' | Set-Acl -Path 'C:\Some\Other\Path' |
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
| REM Check if service exists | |
| sc query serviceName | |
| REM Enable service to run automatically | |
| sc config serviceName start= auto | |
| REM Start service | |
| net start serviceName |
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
| <!-- | |
| # How to use: | |
| • In Windows, Place the .sublime-sinppet files inside the "%AppData%\Sublime Text\Packages\User" folder. | |
| • "%AppData%" refers commonly to "C:\Users\<WinUserName>\AppData\Roaming". | |
| # Preview: | |
| ══════════════════════════════════════════════════════════════════════════════ | |
| ■ Main-Title (file-name.js) | |
| ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ | |
| Description. |
NewerOlder