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
| import tensorflow as tf | |
| from tensorflow import keras | |
| # Define a simple sequential model | |
| model = tf.keras.models.Sequential([ | |
| tf.keras.layers.Flatten(input_shape=(28, 28)), | |
| tf.keras.layers.Dense(128, activation='relu'), | |
| tf.keras.layers.Dropout(0.2), | |
| tf.keras.layers.Dense(10) | |
| ]) |
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
| version: 0.1 | |
| log: | |
| fields: | |
| service: registry | |
| storage: | |
| cache: | |
| blobdescriptor: inmemory | |
| filesystem: | |
| rootdirectory: /var/lib/registry | |
| delete: |
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
| geo.domain.ltd { | |
| # cert setting missing | |
| handle /vt/* { | |
| reverse_proxy mt0.google.com mt1.google.com mt2.google.com mt3.google.com { | |
| header_up Host {upstream_hostport} | |
| } | |
| } | |
| handle { | |
| respond 404 | |
| } |
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
| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # Linux/mips 6.6.38-gentoo Kernel Configuration | |
| # | |
| CONFIG_CC_VERSION_TEXT="mips64el-unknown-linux-gnuabi64-gcc (Gentoo 14.1.1_p20240622 p3) 14.1.1 20240622" | |
| CONFIG_CC_IS_GCC=y | |
| CONFIG_GCC_VERSION=140101 | |
| CONFIG_CLANG_VERSION=0 | |
| CONFIG_AS_IS_GNU=y | |
| CONFIG_AS_VERSION=24200 |
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
| # /etc/fstab: static file system information. | |
| # | |
| # See the manpage fstab(5) for more information. | |
| # | |
| # NOTE: The root filesystem should have a pass number of either 0 or 1. | |
| # All other filesystems should have a pass number of 0 or greater than 1. | |
| # | |
| # NOTE: Even though we list ext4 as the type here, it will work with ext2/ext3 | |
| # filesystems. This just tells the kernel to use the ext4 driver. | |
| # |
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
| timeout 5 | |
| default 0 | |
| showmenu 1 | |
| title Gentoo | |
| kernel /dev/fs/ext2@wd0/vmlinuz-6.6.37-gentoo | |
| args console=tty root=/dev/sda3 |
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
| diff --git a/compiler/rustc_target/src/spec/targets/mips64el_unknown_linux_gnuabi64.rs b/compiler/rustc_target/src/spec/targets/mips64el_unknown_linux_gnuabi64.rs | |
| index 515473fbabc..fa3c6875964 100644 | |
| --- a/compiler/rustc_target/src/spec/targets/mips64el_unknown_linux_gnuabi64.rs | |
| +++ b/compiler/rustc_target/src/spec/targets/mips64el_unknown_linux_gnuabi64.rs | |
| @@ -15,8 +15,8 @@ pub fn target() -> Target { | |
| options: TargetOptions { | |
| abi: "abi64".into(), | |
| // NOTE(mips64r2) matches C toolchain | |
| - cpu: "mips64r2".into(), | |
| - features: "+mips64r2,+xgot".into(), |
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
| dns: | |
| rewrites: | |
| - domain: dzsms.gwm.com.cn | |
| answer: **.**.**.** |
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
| crossdev -t x86_64-w64-mingw32 | |
| # https://wiki.gentoo.org/wiki/Mingw#POSIX_threads_for_Windows | |
| crossdev --genv 'EXTRA_ECONF="--enable-threads=posix"' --init-target --target cross-x86_64-w64-mingw32 | |
| echo "cross-x86_64-w64-mingw32/mingw64-runtime libraries idl tools" >> /etc/portage/package.use/cross-x86_64-w64-mingw32 | |
| emerge -1 cross-x86_64-w64-mingw32/mingw64-runtime | |
| emerge -1 cross-x86_64-w64-mingw32/gcc | |
| # https://bugs.gentoo.org/679878 | |
| ln -s /var/db/repos/gentoo/sys-devel/rust-std /var/db/repos/crossdev/cross-x86_64-w64-mingw32/ |
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
| import math | |
| import traceback | |
| import adsk.cam | |
| import adsk.core | |
| import adsk.fusion | |
| heightDefault = "100 mm" | |
| thickDefault = "5 mm" |