➜ ~ julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.8.0-beta3 (2022-03-29)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ 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
Shader "Unlit/InfiniteGrid" | |
{ | |
Properties | |
{ | |
[Toggle] _WorldUV ("Use World Space UV", Float) = 1.0 | |
_GridScale ("Grid Scale", Float) = 1.0 | |
_GridBias ("Grid Bias", Float) = 0.5 | |
_GridDiv ("Grid Divisions", Float) = 10.0 | |
_BaseColor ("Base Color", Color) = (0,0,0,1) | |
_LineColor ("Line Color", Color) = (1,1,1,1) |
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 json | |
import os | |
import requests | |
from datetime import datetime, timezone | |
NOTIFICATIONS = 'https://api.github.com/notifications' | |
token = os.environ['GH_TOKEN'] | |
s = requests.Session() | |
s.headers.update({ |
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
param ( | |
[string]$destiny = "../folder", | |
[string]$prefix = "./" | |
) | |
foreach ($i in Get-ChildItem -Path $prefix -Recurse) | |
{ | |
Get-Content "input.txt" | Foreach-Object{ | |
if ($i.Name -match "^$_.*[a-zA-Z]{3}$") |
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
julia> using LLVM | |
julia> IR = raw""" | |
@_ZN5julia4var1E = constant i64 1, align 8 | |
declare i32 @__cxa_atexit(void (i8*)*, i8*, i8*) | |
@__dso_handle = external hidden global i8 | |
define dso_local i64 @_Z4foo1v() #0 { | |
entry: |
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
module LibExif | |
using libexif_jll | |
mutable struct _ExifContentPrivate end | |
const ExifContentPrivate = _ExifContentPrivate | |
struct _ExifContent | |
entries::Ptr{Ptr{Cvoid}} # entries::Ptr{Ptr{ExifEntry}} |
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
/* | |
Copyright (c) 2016 Micha Mettke | |
This software is provided 'as-is', without any express or implied | |
warranty. In no event will the authors be held liable for any damages | |
arising from the use of this software. | |
Permission is granted to anyone to use this software for any purpose, | |
including commercial applications, and to alter it and redistribute it | |
freely, subject to the following restrictions: |
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
module LibGnuastro | |
using Gnuastro_jll | |
export Gnuastro_jll | |
using CEnum | |
const Ctm = Base.Libc.TmStruct | |
const Ctime_t = UInt | |
const Cclock_t = UInt |
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
# This script is not an active part of the package. | |
# It uses Clang.jl package to parse Sundials C headers and generate | |
# Julia wrapper for Sundials API. | |
# | |
# To run the script from Julia console: | |
# include(joinpath(Pkg.dir("Sundials"), "src", "wrap_sundials.jl")); | |
using Clang | |
# `outpath` specifies, where the julian wrappers would be generated. |
NewerOlder