Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
Discover gists
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// Cloudflare Worker Sandbox Examples | |
// Learning here, not intended for production use. | |
// https://cloudflareworkers.com/#6bc84bcddcf251074b41adba568a9284:https://tutorial.cloudflareworkers.com | |
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)); | |
}) | |
/** |
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/env python3 | |
# | |
# Copyright 2024 Chungmin Lee | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the “Software”), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
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
@echo off | |
echo Virtualization must be disabled to use anti-cheat clients like FACEIT and ESEA | |
echo. | |
net session >nul 2>&1 | |
if %ERRORLEVEL% EQU 0 goto :chchchchoices | |
echo This script requires elevated privileges. Re-run as Administrator to continue | |
goto :exit | |
:chchchchoices |
Do you want to do remote development on your WSL2 container in Visual Studio Code? Read this.
- On the host set up OpenSSH for Windows
- Run
wsl --update
to make sure you are running the latest WSL - Open WSL and install another SSH server inside WSL with
sudo apt-get install openssh-server
- Now run
sudo systemctl enable --now ssh
to automatically start ssh when WSL starts.
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 | |
/** | |
* Complex WordPress meta query by start and end date (custom meta fields) | |
* Intended for use on the `pre_get_posts` hook. | |
* Caution; this makes the query very slow - several seconds - so should be | |
* implemented with some form of caching. | |
* | |
* mark@sayhello.ch 22.10.2019, based on code from 201 onwards | |
*/ |
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 | |
namespaced App\Providers; | |
use RuntimeException; | |
use Illuminate\Support\Facades\Route; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Routing\ImplicitRouteBinding; | |
class RouteServiceProvider extends ServiceProvider |
NewerOlder