- Open Explorer
- Type
%AppData%\Microsoft\Windows\Start Menuin the address bar and press enter - Right click and select New → Shortcut
- In the field Type the location of the item paste
C:\Windows\System32\shutdown.exe /r /fw /t 0 - Press Next
- In the field Type a name for this shortcut enter
Reboot to BIOSand press _Finish - Right click the shortcut and select Properties
- Click Advanced... and check Run as administrator and press OK
Erlang makes it possible to extend the Erlang shell with your own built-in functions using the special module user_default. We can use this to add functions to the shell, and even add custom libraries to the code path for all Erlang shells.
- Start by creating a file called
.erlangin your home directory. Any Erlang expression ending with a dot in this file will be executed when the Erlang shell starts - Create the directory
~/.erlang.d:$ mkdir ~/.erlang.d
- Go to Menu → Help → More troubleshooting information → Application Basics → Profile Folder → Open Folder
- Create a folder named
chrome - Create a new text file inside
chromenameduserChrome.cssand paste the content - Go to
about:configin Firefox - Change the setting
toolkit.legacyUserProfileCustomizations.stylesheetstotrue - Restart Firefox
To build and test Erlang projects on GitHub actions with Rebar it is fastest to use the setup-beam action and use caching.
To get started, create a workflow file in .github/workflows in your
repository. For this example we use a file called
.github/workflows/continuous_integration.yml.
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
| -module(). | |
| -behavior(gen_event). | |
| % Callbacks | |
| -export([init/1]). | |
| -export([handle_event/2]). | |
| -export([handle_call/2]). | |
| -export([handle_info/2]). | |
| -export([terminate/2]). |
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
| # Load Order Interactive Interactive Script | |
| # Startup Only login Always | |
| # ------------- ----------- ----------- ------ | |
| # /etc/zshenv 1 1 1 | |
| # ~/.zshenv 2 2 2 | |
| # /etc/zprofile 3 | |
| # ~/.zprofile 4 | |
| # /etc/zshrc 5 3 | |
| # ~/.zshrc 6 4 | |
| # /etc/zlogin 7 |
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
| -module(). | |
| -behavior(gen_server). | |
| % API | |
| -export([start_link/0]). | |
| % Callbacks | |
| -export([init/1]). | |
| -export([handle_call/3]). |
NewerOlder