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
cmake_minimum_required(VERSION 3.12) | |
project(Demo) | |
# GLFW: | |
set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE) | |
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE) | |
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) | |
add_subdirectory(glfw) | |
# dear imgui: |
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
1>------ Build started: Project: Chakra.JITIDL, Configuration: Release Win32 ------ | |
2>------ Build started: Project: CoreManifests, Configuration: Release Win32 ------ | |
3>------ Build started: Project: Chakra.Common.Codex, Configuration: Release Win32 ------ | |
4>------ Build started: Project: Chakra.Common.Util, Configuration: Release Win32 ------ | |
2> Performing Custom Build Tools | |
2>mc : error : 0x3 trying to open file <Copy\Build\VcBuild\obj\x86_release\CoreManifests\>. | |
1> Processing C:\ChakraCore - Copy\lib\JITIDL\ChakraJIT.idl | |
1> ChakraJIT.idl | |
5>------ Build started: Project: Chakra.Common.Core, Configuration: Release Win32 ------ | |
1> Processing C:\Program Files (x86)\Windows Kits\8.1\Include\shared\wtypes.idl |
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
C:\ChakraCore 2>msbuild /m /p:Platform=x86 /p:Configuration=Release Build\Chakra.Core.sln | |
Microsoft (R) Build Engine version 14.0.25420.1 | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
Build started 31/01/2017 10:06:13. | |
1>Project "C:\ChakraCore 2\Build\Chakra.Core.sln" on node 1 (default targets). | |
1>ValidateSolutionConfiguration: | |
Building solution configuration "Release|x86". | |
ValidateProjects: | |
The project "pal" is not selected for building in solution configuration "Release|x86". |
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
eclist[z_] := ElementData[z, "ElectronConfigurationString"][[1]] /. | |
Superscript[a_, b_] -> {a, b} | |
orbitals[z_] := Partition[Flatten[If[StringQ[eclist[z][[1]]], | |
Join[ | |
orbitals[StringReplace[eclist[z][[1]], ("[" ~~ base__ ~~ "]") -> base]], | |
Drop[eclist[z], 1]], | |
eclist[z]]], 3] | |
lastOrbital[z_] := Last[orbitals[z]] |
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/bash | |
# tunejack.sh uses the TuneIn public API (at opml.radiotime.com) to search for | |
# a radio station, print out its details and try to play it somehow. | |
if [ "$#" -eq 0 ]; then | |
echo "$0: search for a radio station using the TuneIn API" | |
echo "Usage: $0 PATTERN" | |
exit 1 | |
fi |