To get started with org-mode Link
- This is code block for Latex
//Davide Dunne Sanchez A01642355@tec.mx | |
//Raúl Antonio Castillejos Santillán A01174919@tec.mx | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.IO; | |
// Listado de estados tanto en cada char como cada conjunto de chars en la cadena | |
enum State{ | |
Empty, |
#This script will copy all the files in current directory into a zip | |
$Files = Get-ChildItem -Exclude *.ps1 -Name | |
Write-Host $Files | |
foreach($File in $Files){ | |
Compress-Archive -Path $File -Update -DestinationPath files.zip | |
} |
using System.Management.Automation; // https://www.nuget.org/packages/System.Management.Automation/ | |
using Microsoft.PowerShell; // https://www.nuget.org/packages/Microsoft.PowerShell.SDK/ | |
namespace PowershellCSGist | |
{ | |
internal class Program | |
{ | |
static void Main() | |
{ | |
PowerShell ps = PowerShell.Create(); |
#region headers | |
global using static System.Console; | |
//Implicit using List: | |
// using System | |
// using System.Collections.Generic | |
// using System.IO | |
// using System.Linq | |
// using System.Net.Http | |
// using System.Threading | |
// using System.Threading.Task |
param( | |
# Folder path where the shortcuts will be created | |
[Parameter(Mandatory=$true)] | |
[string]$Folder | |
) | |
# Test if folder is a valid path of a folder | |
if (-not (Test-Path $Folder -PathType Container)) { | |
Write-Host "Folder path is not valid" | |
exit |
#!/bin/bash | |
echo "Make all the appimages in user directory executable" | |
find ~ -type f -iname "*.AppImage" -exec chmod u+x {} \; |
USE [test]; | |
GO | |
IF OBJECT_ID (N'dbo.Enrollments', N'U') IS NOT NULL | |
DROP TABLE [dbo].[Enrollments] | |
GO | |
IF OBJECT_ID (N'dbo.Students', N'U') IS NOT NULL | |
DROP TABLE [dbo].[Students] | |
GO | |
IF OBJECT_ID (N'dbo.Courses', N'U') IS NOT NULL |
;; This is the basic emacs config, as seen in the video by Uncle Dave https://youtu.be/8Zkte37UOnA?si=R2B3iHLMgFb9-zwL | |
;; Remove the tool bar (file, edit, etc) and menu bar (the bar with icons) | |
;; init.el, should be in ~/.emacs.d/init.el | |
;; in windows it should be in C:\Users\user\AppData\Roaming\.emacs.d | |
(tool-bar-mode -1) | |
(menu-bar-mode -1) |
To get started with org-mode Link