sudo apt-get install libapache2-mod-proxy-html
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
#Requires -RunAsAdministrator | |
Write-Output "Removing previous instances of winget..." | |
Get-AppxPackage -allUsers *desktopappinstaller* | Remove-AppxPackage | |
Get-AppxPackage -allUsers *winget* | Remove-AppxPackage | |
Write-Output "Getting information on latest winget 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
#include <algorithm> | |
#include <array> | |
#include <chrono> | |
#include <cstdint> | |
#include <cstdio> | |
#include <random> | |
#include <vector> | |
using namespace std; | |
using namespace std::chrono; |
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
# [put in ~/.bashrc (open with vim or nano)] | |
alias ghrmr='gh repo delete' | |
# create repo then push it automatically | |
alias ghmkr='gh repo create && git push;' | |
# use this command run custom sub-commands on the backup repo | |
bkup() { | |
orig_dir=$(pwd) | |
if cd $(pwd).bak; then | |
"$@" |
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
void main() { | |
List<String> liste1 = ["France", "Italie", "Espagne", "Portugal"]; | |
List<String> liste2 = ["Suède", "Danemark", "Pays-Bas", "Belgique"]; | |
print ("Liste 1: ${liste1}"); | |
print ("Liste 1: ${liste2}"); | |
List<String> tPays = liste1; | |
print("Le nombre d'éléments dans tPays est : ${tPays.length}"); |
- https://github.com/Janani-Balasooriya/Java-Beginner-Projects
- https://github.com/pccoe-acm-hacktoberfest-2023/beginner-projects
- https://github.com/KrishGaur1354/Java-Projects-for-Beginners
- https://github.com/SSDesignNCode/Tic-Tac-Toe-Java
- https://github.com/tegamax/JavaBeginnerToAdvance
- https://github.com/Kalutu/Java-Projects-for-Beginners
- https://github.com/DavidHancu/JavaChallenges
- https://github.com/Warlord27/Java-Project
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
import 'package:flutter/material.dart'; | |
import 'package:infinite_scroll_pagination/infinite_scroll_pagination.dart'; | |
class InfiniteScrollableTable<T extends Object> extends StatefulWidget { | |
final Future<List<T>> Function(int) fetchPage; | |
final int pageSize; | |
final Widget Function(BuildContext, T, int) itemBuilder; | |
const InfiniteScrollableTable( |
- Take videos from back-facing-camera and put it in channel 2. Add audio but keep it mute.
- Take videos from front-facing-camera in to channel 1 of blender's sequence editor. Make sure that the two channels have videos of same time duration.
import bpy
from pathlib import Path
from datetime import datetime
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
def fetch_tournament(file) -> list[str]: | |
with open(file) as f: | |
lines = f.readlines() | |
return lines | |
def clean_game(game) -> str: | |
dic = { | |
'A' : 'Rock', |
NewerOlder